We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bd897f commit 0723dc0Copy full SHA for 0723dc0
include/util/query_heap.hpp
@@ -12,7 +12,6 @@
12
#include <optional>
13
#include <unordered_map>
14
#include <vector>
15
-
16
namespace osrm::util
17
{
18
@@ -217,10 +216,12 @@ class QueryHeap
217
216
return weight > other.weight;
218
}
219
};
+ using HeapContainerAllocator = boost::fast_pool_allocator<HeapData>;
220
using HeapContainer = boost::heap::d_ary_heap<HeapData,
221
boost::heap::arity<4>,
222
boost::heap::mutable_<true>,
223
- boost::heap::compare<std::greater<HeapData>>>;
+ boost::heap::compare<std::greater<HeapData>>,
224
+ boost::heap::allocator<HeapContainerAllocator>>;
225
using HeapHandle = typename HeapContainer::handle_type;
226
227
public:
0 commit comments