not sure about it.. but compiles..

This commit is contained in:
Aishou 2014-03-03 12:05:15 +01:00
parent 85626024a0
commit caa797cee3
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
#include <stdafx.h>
#include <Utilities/SMutex.h>
__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::thread::id>()(std::this_thread::get_id());
}
__forceinline u32 SM_GetCurrentCPUThreadId()