From c79af5b085a46a380fdce0b3f85f2518b17f909a Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Sun, 3 Aug 2025 14:32:40 -0500 Subject: [PATCH] fix --- support/src/utils/unix.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/support/src/utils/unix.cpp b/support/src/utils/unix.cpp index 2f820aca..038019f8 100644 --- a/support/src/utils/unix.cpp +++ b/support/src/utils/unix.cpp @@ -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(thread); -} -#else // defined(__APPLE__) +#if !defined(__APPLE__) auto convert_to_uint64(const pthread_t &thread) -> std::uint64_t { return static_cast(thread); }