mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 19:15:54 +00:00
Add missing includes.
This commit is contained in:
@@ -25,8 +25,9 @@
|
|||||||
#define BEAST_THREADS_SPINLOCK_H_INCLUDED
|
#define BEAST_THREADS_SPINLOCK_H_INCLUDED
|
||||||
|
|
||||||
#include <beast/threads/UnlockGuard.h>
|
#include <beast/threads/UnlockGuard.h>
|
||||||
|
#include <beast/utility/noexcept.h>
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
|
#include <cassert>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
#include <thread>
|
#include <thread>
|
||||||
|
|
||||||
@@ -98,7 +99,7 @@ public:
|
|||||||
inline void exit() const noexcept
|
inline void exit() const noexcept
|
||||||
{
|
{
|
||||||
// Agh! Releasing a lock that isn't currently held!
|
// Agh! Releasing a lock that isn't currently held!
|
||||||
bassert (m_lock.load () == 1);
|
assert (m_lock.load () == 1);
|
||||||
m_lock.store (0);
|
m_lock.store (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user