Commit 3a9d2d47 authored by Andrew Gallagher's avatar Andrew Gallagher Committed by Facebook GitHub Bot

Fix `-Wnested-anon-types`

Reviewed By: igorsugak

Differential Revision: D32415926

fbshipit-source-id: b62ac87215800eed8e6cf8acf92f0518b9a56da5
parent ca7bdc77
...@@ -250,12 +250,14 @@ class Baton { ...@@ -250,12 +250,14 @@ class Baton {
static constexpr intptr_t TIMEOUT = -2; static constexpr intptr_t TIMEOUT = -2;
static constexpr intptr_t THREAD_WAITING = -3; static constexpr intptr_t THREAD_WAITING = -3;
struct _futex_wrapper {
folly::detail::Futex<> futex{};
int32_t _unused_packing;
};
union { union {
std::atomic<intptr_t> waiter_; std::atomic<intptr_t> waiter_;
struct { struct _futex_wrapper futex_;
folly::detail::Futex<> futex{};
int32_t _unused_packing;
} futex_;
}; };
}; };
......
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