diff --git a/gloo/broadcast_one_to_all.h b/gloo/broadcast_one_to_all.h index 95a3c3f3c..a2d5a0079 100644 --- a/gloo/broadcast_one_to_all.h +++ b/gloo/broadcast_one_to_all.h @@ -118,7 +118,7 @@ class BroadcastOneToAll : public Algorithm { const int rootPointerRank_; // For the sender (root) - using forSender = struct { + struct forSender { int dummy; std::unique_ptr clearToSendBuffer; std::unique_ptr sendBuffer; @@ -127,7 +127,7 @@ class BroadcastOneToAll : public Algorithm { std::vector> sender_; // For all receivers - using forReceiver = struct { + struct forReceiver { int dummy; std::unique_ptr clearToSendBuffer; std::unique_ptr recvBuffer; diff --git a/gloo/cuda_broadcast_one_to_all.h b/gloo/cuda_broadcast_one_to_all.h index ec22558a1..79ca0919e 100644 --- a/gloo/cuda_broadcast_one_to_all.h +++ b/gloo/cuda_broadcast_one_to_all.h @@ -52,7 +52,7 @@ class CudaBroadcastOneToAll : public Algorithm { const bool synchronizeDeviceOutputs_; // For the sender (root) - using forSender = struct { + struct forSender { int dummy; std::unique_ptr clearToSendBuffer; std::unique_ptr sendBuffer; @@ -61,7 +61,7 @@ class CudaBroadcastOneToAll : public Algorithm { std::vector> sender_; // For all receivers - using forReceiver = struct { + struct forReceiver { int dummy; std::unique_ptr clearToSendBuffer; std::unique_ptr recvBuffer;