diff --git a/include/util/query_heap.hpp b/include/util/query_heap.hpp index 5796c3563..0639cb386 100644 --- a/include/util/query_heap.hpp +++ b/include/util/query_heap.hpp @@ -12,7 +12,6 @@ #include #include #include - namespace osrm::util { @@ -217,10 +216,12 @@ class QueryHeap return weight > other.weight; } }; + using HeapContainerAllocator = boost::fast_pool_allocator; using HeapContainer = boost::heap::d_ary_heap, boost::heap::mutable_, - boost::heap::compare>>; + boost::heap::compare>, + boost::heap::allocator>; using HeapHandle = typename HeapContainer::handle_type; public: