diff --git a/gloo/cuda_broadcast_one_to_all.h b/gloo/cuda_broadcast_one_to_all.h index 794691221..62ce4d0ec 100644 --- a/gloo/cuda_broadcast_one_to_all.h +++ b/gloo/cuda_broadcast_one_to_all.h @@ -36,13 +36,13 @@ class CudaBroadcastOneToAll : public Algorithm { void init( typename std::enable_if< std::is_same>::value, - typename U::Pointer>::type* = NULL); + typename U::Pointer>::type* = nullptr); template void init( typename std::enable_if< std::is_same>::value, - typename U::Pointer>::type* = NULL); + typename U::Pointer>::type* = nullptr); std::vector> devicePtrs_; std::vector streams_;