diff options
Diffstat (limited to 'src/server/ThreadManager.hpp')
-rw-r--r-- | src/server/ThreadManager.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/ThreadManager.hpp b/src/server/ThreadManager.hpp index 5f59208f..3619933f 100644 --- a/src/server/ThreadManager.hpp +++ b/src/server/ThreadManager.hpp @@ -58,8 +58,8 @@ public: /** Set to true during initialisation so ensure_thread doesn't fail. * Defined in Engine.cpp */ - static bool single_threaded; - static INGEN_THREAD_LOCAL unsigned flags; + static bool single_threaded; + static thread_local unsigned flags; }; } // namespace server |