Let Futex import base-class ctors
[folly.git] / folly / synchronization / detail / ThreadCachedInts.h
index 1e6b0fb8f077e6e3afe8a42e8ea085782a15af94..1363cc1a31250586175801bb1404d6afb9f1078f 100644 (file)
@@ -38,7 +38,7 @@ template <typename Tag>
 class ThreadCachedInts {
   std::atomic<int64_t> orphan_inc_[2];
   std::atomic<int64_t> orphan_dec_[2];
-  folly::detail::Futex<> waiting_;
+  folly::detail::Futex<> waiting_{0};
 
   class Integer {
    public: