diff --git a/parallel_hashmap/phmap_base.h b/parallel_hashmap/phmap_base.h index fad4a66..968a548 100644 --- a/parallel_hashmap/phmap_base.h +++ b/parallel_hashmap/phmap_base.h @@ -1234,22 +1234,22 @@ using ExtractOrT = typename ExtractOr::type; // Extractors for the features of allocators. template -using GetPointer = typename T::pointer; +using GetPointer = typename std::allocator_traits::pointer; template -using GetConstPointer = typename T::const_pointer; +using GetConstPointer = typename std::allocator_traits::const_pointer; template -using GetVoidPointer = typename T::void_pointer; +using GetVoidPointer = typename std::allocator_traits::void_pointer; template -using GetConstVoidPointer = typename T::const_void_pointer; +using GetConstVoidPointer = typename std::allocator_traits::const_void_pointer; template -using GetDifferenceType = typename T::difference_type; +using GetDifferenceType = typename std::allocator_traits::difference_type; template -using GetSizeType = typename T::size_type; +using GetSizeType = typename std::allocator_traits::size_type; template using GetPropagateOnContainerCopyAssignment =