Fix unity build compilation

This commit is contained in:
SirLynix 2023-07-22 12:38:07 +02:00
parent 6370e0d16d
commit e42b2c87fc
1 changed files with 2 additions and 2 deletions

View File

@ -32,13 +32,13 @@ namespace Nz
std::string GetCurrentThreadName()
{
NAZARA_USE_ANONYMOUS_NAMESPACE
return PlatformImpl::GetCurrentThreadName();
}
std::string GetThreadName(std::thread& thread)
{
NAZARA_USE_ANONYMOUS_NAMESPACE
// std::thread::native_handle returns a void* with MSVC instead of a HANDLE
return PlatformImpl::GetThreadName(GetHandle(thread));
}