Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
SiarheiFedartsou committed Jul 3, 2024
1 parent 3bd897f commit 0723dc0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions include/util/query_heap.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include <optional>
#include <unordered_map>
#include <vector>

namespace osrm::util
{

Expand Down Expand Up @@ -217,10 +216,12 @@ class QueryHeap
return weight > other.weight;
}
};
using HeapContainerAllocator = boost::fast_pool_allocator<HeapData>;
using HeapContainer = boost::heap::d_ary_heap<HeapData,
boost::heap::arity<4>,
boost::heap::mutable_<true>,
boost::heap::compare<std::greater<HeapData>>>;
boost::heap::compare<std::greater<HeapData>>,
boost::heap::allocator<HeapContainerAllocator>>;
using HeapHandle = typename HeapContainer::handle_type;

public:
Expand Down

0 comments on commit 0723dc0

Please sign in to comment.