Skip to content

Commit 8e16037

Browse files
Copilotjll63
andcommitted
Remove duplicate uintptr definitions (lines 23-33)
Co-authored-by: jll63 <[email protected]>
1 parent 39b8412 commit 8e16037

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

include/boost/openmethod/policies/minimal_perfect_hash.hpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,6 @@ namespace boost::openmethod {
2121

2222
namespace detail {
2323

24-
#if defined(UINTPTR_MAX)
25-
using uintptr = std::uintptr_t;
26-
constexpr uintptr uintptr_max = UINTPTR_MAX;
27-
#else
28-
static_assert(
29-
sizeof(std::size_t) == sizeof(void*),
30-
"This implementation requires that size_t and void* have the same size.");
31-
using uintptr = std::size_t;
32-
constexpr uintptr uintptr_max = (std::numeric_limits<std::size_t>::max)();
33-
#endif
34-
3524
template<class Registry>
3625
std::vector<type_id> minimal_perfect_hash_control;
3726

0 commit comments

Comments
 (0)