diff --git a/Utilities/Thread.h b/Utilities/Thread.h index eee78eac10..e1fdec7cb8 100644 --- a/Utilities/Thread.h +++ b/Utilities/Thread.h @@ -202,7 +202,7 @@ public: return sq_size; } - bool is_full() const volatile + bool is_full() const { return m_sync.read_relaxed().count == sq_size; }