fix
Some checks are pending
BlockStorage/repertory/pipeline/head Build queued...
BlockStorage/repertory_mac/pipeline/head This commit looks good

This commit is contained in:
2025-08-03 14:32:40 -05:00
parent 08057672d9
commit c79af5b085

View File

@@ -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);
}