Commit 25ecd559 authored by Matt Hauck's avatar Matt Hauck Committed by Paul Yang

Change hint type to `const void*` (#2568)

This is both more correct, and the build fails on AIX without it
parent bcbaabe5
......@@ -592,7 +592,7 @@ class Map {
MapAllocator(const MapAllocator<X>& allocator)
: arena_(allocator.arena()) {}
pointer allocate(size_type n, const_pointer hint = 0) {
pointer allocate(size_type n, const void* hint = 0) {
// If arena is not given, malloc needs to be called which doesn't
// construct element object.
if (arena_ == NULL) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment