diff --git a/third-party/folly/folly/synchronization/DistributedMutex-inl.h b/third-party/folly/folly/synchronization/DistributedMutex-inl.h index ca5650de6..6e250c94d 100644 --- a/third-party/folly/folly/synchronization/DistributedMutex-inl.h +++ b/third-party/folly/folly/synchronization/DistributedMutex-inl.h @@ -1374,7 +1374,8 @@ inline std::uintptr_t tryWake( // we need release here because of the write to waker_ and also because we // are unlocking the mutex, the thread we do the handoff to here should // see the modified data - new (&waiter->metadata_) Metadata(waker, bit_cast(sleepers)); + new (&waiter->metadata_) + Metadata(waker, folly::bit_cast(sleepers)); waiter->futex_.store(kWake, std::memory_order_release); return 0; }