From caa797cee34d4c8c1b87e6b25cab4e0e7b9fc009 Mon Sep 17 00:00:00 2001 From: Aishou Date: Mon, 3 Mar 2014 12:05:15 +0100 Subject: [PATCH] not sure about it.. but compiles.. --- Utilities/SMutex.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Utilities/SMutex.cpp b/Utilities/SMutex.cpp index 1f48903f4e..1d9bcb03f2 100644 --- a/Utilities/SMutex.cpp +++ b/Utilities/SMutex.cpp @@ -1,6 +1,7 @@ #include #include + __forceinline void SM_Sleep() { Sleep(1); @@ -8,7 +9,7 @@ __forceinline void SM_Sleep() __forceinline size_t SM_GetCurrentThreadId() { - return std::this_thread::get_id().hash(); + return std::hash()(std::this_thread::get_id()); } __forceinline u32 SM_GetCurrentCPUThreadId()