From 5764ee7a2ab217912cb5bbb07eb39965238aa0bd Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Fri, 13 Mar 2015 02:03:22 +0300 Subject: [PATCH] Small fix --- Utilities/Thread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }