mirror of
https://github.com/boostorg/openmethod.git
synced 2026-01-19 04:22:12 +00:00
Remove duplicate uintptr definitions (lines 23-33)
Co-authored-by: jll63 <5083077+jll63@users.noreply.github.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user