From 6c5e5e202394ce8063e3c2d9b663145bc4f8efce Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Sun, 11 Jun 2017 03:43:05 -0400 Subject: Remove threads.h and replace its definitions with their C++11 equivalents (#5957) This also changes threadProc's signature, since C++11 supports arbitrary thread function signatures. --- src/log.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/log.h') diff --git a/src/log.h b/src/log.h index c017d127e..56492ff86 100644 --- 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 #include #include +#include #include -#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 m_thread_names; + std::map m_thread_names; mutable std::mutex m_mutex; bool m_trace_enabled; }; -- cgit v1.2.3