fix build when sanitizers are enabled and jemalloc is disabled
[folly.git] / folly / test / SmallLocksTest.cpp
index bee14facf2eb0b71882b6398a4c1a35b44e855f9..32a20d77fa3cc54f31ac2ba6b4655e0c5f4381e9 100644 (file)
@@ -24,6 +24,8 @@
 #include <thread>
 #include <vector>
 
+#include <glog/logging.h>
+
 #include <folly/Random.h>
 #include <folly/portability/Asm.h>
 #include <folly/portability/GTest.h>
@@ -133,7 +135,7 @@ struct TestClobber {
   MicroSpinLock lock_;
 };
 
-}
+} // namespace
 
 TEST(SmallLocks, SpinLockCorrectness) {
   EXPECT_EQ(sizeof(MicroSpinLock), 1);
@@ -214,7 +216,7 @@ struct SimpleBarrier {
   std::condition_variable cv_;
   bool ready_;
 };
-}
+} // namespace
 
 TEST(SmallLocks, MicroLock) {
   volatile uint64_t counters[4] = {0, 0, 0, 0};