Fix ASAN failure in FutureDAG test
[folly.git] / folly / LockTraitsBoost.h
index 081d3f8f4a349aa536885a6b54b783edab4e6b28..79b8af111225c852838893d70e8eccbd9f32c430 100644 (file)
@@ -37,7 +37,7 @@ boost::chrono::duration<Rep, boost::ratio<Num, Denom>> toBoostDuration(
     const std::chrono::duration<Rep, std::ratio<Num, Denom>>& d) {
   return boost::chrono::duration<Rep, boost::ratio<Num, Denom>>(d.count());
 }
-}
+} // namespace detail
 
 /**
  * LockTraits specialization for boost::shared_mutex
@@ -96,6 +96,6 @@ struct LockTraits<boost::recursive_timed_mutex>
     return mutex.try_lock_for(detail::toBoostDuration(timeout));
   }
 };
-} // folly
+} // namespace folly
 
 #endif // FOLLY_LOCK_TRAITS_HAVE_TIMED_MUTEXES