summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/Event.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2015-08-27 00:02:45 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2015-08-27 00:02:45 +0200
commitdfc0f2ae007e186c724b871c7df27f2bf43f76d6 (patch)
tree0d93c887cb9687ef01ea4fa153ea8e131775fd3b /src/OSSupport/Event.h
parentMerge pull request #2450 from nicodinh/patch-1 (diff)
downloadcuberite-dfc0f2ae007e186c724b871c7df27f2bf43f76d6.tar
cuberite-dfc0f2ae007e186c724b871c7df27f2bf43f76d6.tar.gz
cuberite-dfc0f2ae007e186c724b871c7df27f2bf43f76d6.tar.bz2
cuberite-dfc0f2ae007e186c724b871c7df27f2bf43f76d6.tar.lz
cuberite-dfc0f2ae007e186c724b871c7df27f2bf43f76d6.tar.xz
cuberite-dfc0f2ae007e186c724b871c7df27f2bf43f76d6.tar.zst
cuberite-dfc0f2ae007e186c724b871c7df27f2bf43f76d6.zip
Diffstat (limited to 'src/OSSupport/Event.h')
-rw-r--r--src/OSSupport/Event.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/OSSupport/Event.h b/src/OSSupport/Event.h
index 2c58ba485..067a2207c 100644
--- a/src/OSSupport/Event.h
+++ b/src/OSSupport/Event.h
@@ -12,7 +12,6 @@
#include <mutex>
#include <condition_variable>
-#include <atomic>
@@ -42,7 +41,7 @@ public:
private:
/** Used for checking for spurious wakeups. */
- std::atomic<bool> m_ShouldContinue;
+ bool m_ShouldContinue;
/** Mutex protecting m_ShouldContinue from multithreaded access. */
std::mutex m_Mutex;