Move ThreadLocal.h into the implementation
[folly.git] / folly / SharedMutex.h
index 796323dd0f175d67a578cbe43fbd9367ae656c06..ebe8d794c385b4ead4cae7e99835f3aea6e96bbb 100644 (file)
@@ -237,7 +237,7 @@ class SharedMutexImpl {
   class UpgradeHolder;
   class WriteHolder;
 
-  SharedMutexImpl() : state_(0) {}
+  constexpr SharedMutexImpl() : state_(0) {}
 
   SharedMutexImpl(const SharedMutexImpl&) = delete;
   SharedMutexImpl(SharedMutexImpl&&) = delete;