Skip to content

Commit

Permalink
Fix a compilation error in CircleCI vs2019 CXX20 (facebook#8090)
Browse files Browse the repository at this point in the history
Summary:
As title.
Always specify namespace::symbol_name...
Test plan
CircleCI and other CI results

Pull Request resolved: facebook#8090

Reviewed By: ltamasi

Differential Revision: D27256130

Pulled By: riversand963

fbshipit-source-id: b9b9ae2b3a8b4a16f0384292e71c6aecca93c570
  • Loading branch information
riversand963 authored and facebook-github-bot committed Mar 23, 2021
1 parent 08144bc commit 2a12b80
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<uintptr_t>(sleepers));
new (&waiter->metadata_)
Metadata(waker, folly::bit_cast<std::uintptr_t>(sleepers));
waiter->futex_.store(kWake, std::memory_order_release);
return 0;
}
Expand Down

0 comments on commit 2a12b80

Please sign in to comment.