Commit 7ecfb621 authored by Dan Melnic's avatar Dan Melnic Committed by Facebook Github Bot

Fix typo

Summary: Fix typo

Reviewed By: aary

Differential Revision: D14411090

fbshipit-source-id: 4ca0273201facebc815db26d23662d0d192c831f
parent ca91b0ed
......@@ -64,7 +64,7 @@ call_once(basic_once_flag<Mutex, Atom>& flag, F&& f, Args&&... args) {
// May help with space usage in certain esoteric scenarios compared with caller
// code tracking a separate and possibly-padded bool.
//
// Note: This is has no parallel in the std::once_flag interface.
// Note: This has no parallel in the std::once_flag interface.
template <typename Mutex, template <typename> class Atom>
FOLLY_ALWAYS_INLINE bool test_once(basic_once_flag<Mutex, Atom> const& flag) {
return flag.called_.load(std::memory_order_acquire);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment