diff --git a/src/xrpld/core/JobQueue.h b/src/xrpld/core/JobQueue.h index fb5ab1ea06..73e0f9e332 100644 --- a/src/xrpld/core/JobQueue.h +++ b/src/xrpld/core/JobQueue.h @@ -65,6 +65,7 @@ public: private: enum class CoroState { None, Suspended, Running, Finished }; + std::atomic_bool exiting_ = false; detail::LocalValues lvs_; JobQueue& jq_; JobType type_; @@ -76,8 +77,6 @@ public: boost::coroutines::asymmetric_coroutine::pull_type coro_; boost::coroutines::asymmetric_coroutine::push_type* yield_; - std::atomic_bool exiting_ = false; - public: // Private: Used in the implementation template