Fix unity build compilation
This commit is contained in:
parent
6370e0d16d
commit
e42b2c87fc
|
|
@ -32,13 +32,13 @@ namespace Nz
|
||||||
|
|
||||||
std::string GetCurrentThreadName()
|
std::string GetCurrentThreadName()
|
||||||
{
|
{
|
||||||
NAZARA_USE_ANONYMOUS_NAMESPACE
|
|
||||||
|
|
||||||
return PlatformImpl::GetCurrentThreadName();
|
return PlatformImpl::GetCurrentThreadName();
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string GetThreadName(std::thread& thread)
|
std::string GetThreadName(std::thread& thread)
|
||||||
{
|
{
|
||||||
|
NAZARA_USE_ANONYMOUS_NAMESPACE
|
||||||
|
|
||||||
// std::thread::native_handle returns a void* with MSVC instead of a HANDLE
|
// std::thread::native_handle returns a void* with MSVC instead of a HANDLE
|
||||||
return PlatformImpl::GetThreadName(GetHandle(thread));
|
return PlatformImpl::GetThreadName(GetHandle(thread));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue