about summary refs log tree commit diff
path: root/absl/synchronization/barrier.cc
diff options
context:
space:
mode:
Diffstat (limited to 'absl/synchronization/barrier.cc')
-rw-r--r--absl/synchronization/barrier.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/absl/synchronization/barrier.cc b/absl/synchronization/barrier.cc
index c2c539ac4acf..0dfd795e7b5f 100644
--- a/absl/synchronization/barrier.cc
+++ b/absl/synchronization/barrier.cc
@@ -18,6 +18,7 @@
 #include "absl/synchronization/mutex.h"
 
 namespace absl {
+ABSL_NAMESPACE_BEGIN
 
 // Return whether int *arg is zero.
 static bool IsZero(void *arg) {
@@ -47,4 +48,5 @@ bool Barrier::Block() {
   return this->num_to_exit_ == 0;
 }
 
+ABSL_NAMESPACE_END
 }  // namespace absl