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
return mutex.try_lock_for(detail::toBoostDuration(timeout));
}
};
-} // folly
+} // namespace folly
#endif // FOLLY_LOCK_TRAITS_HAVE_TIMED_MUTEXES