Fix a compilation error in CircleCI vs2019 CXX20 (#8090)

Summary:
As title.
Always specify namespace::symbol_name...
Test plan
CircleCI and other CI results

Pull Request resolved: https://github.com/facebook/rocksdb/pull/8090

Reviewed By: ltamasi

Differential Revision: D27256130

Pulled By: riversand963

fbshipit-source-id: b9b9ae2b3a8b4a16f0384292e71c6aecca93c570
This commit is contained in:
Yanqin Jin 2021-03-23 10:26:31 -07:00 committed by Facebook GitHub Bot
parent 08144bc2f5
commit 2a12b80769

View File

@ -1374,7 +1374,8 @@ inline std::uintptr_t tryWake(
// we need release here because of the write to waker_ and also because we // 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 // are unlocking the mutex, the thread we do the handoff to here should
// see the modified data // see the modified data
new (&waiter->metadata_) Metadata(waker, bit_cast<uintptr_t>(sleepers)); new (&waiter->metadata_)
Metadata(waker, folly::bit_cast<std::uintptr_t>(sleepers));
waiter->futex_.store(kWake, std::memory_order_release); waiter->futex_.store(kWake, std::memory_order_release);
return 0; return 0;
} }