diff options
Diffstat (limited to 'src/log.h')
-rw-r--r-- | src/log.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; }; |