LocalPlayer::accelerateHorizontal: cleanups
[oweals/minetest.git] / src / log.h
index c017d127e6c21d9305c3c545b728117fa3e8d3ed..56492ff8688f2e0abf9210d26fcaad5a1838ea1c 100644 (file)
--- a/src/log.h
+++ b/src/log.h
@@ -24,8 +24,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include <queue>
 #include <string>
 #include <fstream>
+#include <thread>
 #include <mutex>
-#include "threads.h"
 #include "irrlichttypes.h"
 
 class ILogOutput;
@@ -79,7 +79,7 @@ private:
        // written to when one thread has access currently).
        // Works on all known architectures (x86, ARM, MIPS).
        volatile bool m_silenced_levels[LL_MAX];
-       std::map<threadid_t, std::string> m_thread_names;
+       std::map<std::thread::id, std::string> m_thread_names;
        mutable std::mutex m_mutex;
        bool m_trace_enabled;
 };