Let Futex import base-class ctors
[folly.git] / folly / fibers / Baton.h
index 286ded79299cfcc090c06c178236ffc40b1e1f76..65694b6677dada8bd5cfb65fb400a1b6ea01e8ea 100644 (file)
@@ -258,7 +258,7 @@ class Baton {
   union {
     std::atomic<intptr_t> waitingFiber_;
     struct {
-      folly::detail::Futex<> futex;
+      folly::detail::Futex<> futex{};
       int32_t _unused_packing;
     } futex_;
   };