From 8e1603766e614c6de07e1cd2dfa0d87a550c9f4e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 18 Dec 2025 05:50:20 +0000 Subject: [PATCH] Remove duplicate uintptr definitions (lines 23-33) Co-authored-by: jll63 <5083077+jll63@users.noreply.github.com> --- .../openmethod/policies/minimal_perfect_hash.hpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/include/boost/openmethod/policies/minimal_perfect_hash.hpp b/include/boost/openmethod/policies/minimal_perfect_hash.hpp index 866f9e0..ef0082c 100644 --- a/include/boost/openmethod/policies/minimal_perfect_hash.hpp +++ b/include/boost/openmethod/policies/minimal_perfect_hash.hpp @@ -21,17 +21,6 @@ namespace boost::openmethod { namespace detail { -#if defined(UINTPTR_MAX) -using uintptr = std::uintptr_t; -constexpr uintptr uintptr_max = UINTPTR_MAX; -#else -static_assert( - sizeof(std::size_t) == sizeof(void*), - "This implementation requires that size_t and void* have the same size."); -using uintptr = std::size_t; -constexpr uintptr uintptr_max = (std::numeric_limits::max)(); -#endif - template std::vector minimal_perfect_hash_control;