summaryrefslogtreecommitdiffstats
path: root/src/Server.h
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2016-01-17 20:42:05 +0100
committerworktycho <work.tycho@gmail.com>2016-01-17 20:42:05 +0100
commit7ca191baf6bccf7e631cfe937d7a3d56af4e5280 (patch)
tree02fbb0b9a7e9299f837196b191f244f75ab43fc0 /src/Server.h
parentMerge pull request #2887 from LogicParrot/water (diff)
parentFixed race conditions (diff)
downloadcuberite-7ca191baf6bccf7e631cfe937d7a3d56af4e5280.tar
cuberite-7ca191baf6bccf7e631cfe937d7a3d56af4e5280.tar.gz
cuberite-7ca191baf6bccf7e631cfe937d7a3d56af4e5280.tar.bz2
cuberite-7ca191baf6bccf7e631cfe937d7a3d56af4e5280.tar.lz
cuberite-7ca191baf6bccf7e631cfe937d7a3d56af4e5280.tar.xz
cuberite-7ca191baf6bccf7e631cfe937d7a3d56af4e5280.tar.zst
cuberite-7ca191baf6bccf7e631cfe937d7a3d56af4e5280.zip
Diffstat (limited to '')
-rw-r--r--src/Server.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Server.h b/src/Server.h
index 4d0bc1c18..9131697c2 100644
--- a/src/Server.h
+++ b/src/Server.h
@@ -189,7 +189,7 @@ private:
bool m_bIsConnected; // true - connected false - not connected
- bool m_bRestarting;
+ std::atomic<bool> m_bRestarting;
/** The private key used for the assymetric encryption start in the protocols */
cRsaPrivateKey m_PrivateKey;