fix
This commit is contained in:
@@ -88,11 +88,7 @@ namespace {
|
||||
} // namespace
|
||||
|
||||
namespace repertory::utils {
|
||||
#if defined(__APPLE__)
|
||||
auto convert_to_uint64(pthread_t thread) -> std::uint64_t {
|
||||
return reinterpret_cast<std::uintptr_t>(thread);
|
||||
}
|
||||
#else // defined(__APPLE__)
|
||||
#if !defined(__APPLE__)
|
||||
auto convert_to_uint64(const pthread_t &thread) -> std::uint64_t {
|
||||
return static_cast<std::uint64_t>(thread);
|
||||
}
|
||||
|
Reference in New Issue
Block a user