Remove duplicate uintptr definitions (lines 23-33)

Co-authored-by: jll63 <5083077+jll63@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-12-18 05:50:20 +00:00
parent 39b8412b67
commit 8e1603766e

View File

@@ -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<std::size_t>::max)();
#endif
template<class Registry>
std::vector<type_id> minimal_perfect_hash_control;