diff --git a/include/contractor/contractor_heap.hpp b/include/contractor/contractor_heap.hpp index 77a0a85af..fc581f3b0 100644 --- a/include/contractor/contractor_heap.hpp +++ b/include/contractor/contractor_heap.hpp @@ -20,8 +20,7 @@ using ContractorHeap = util::QueryHeap, - false>; + util::XORFastHashStorage>; } // namespace osrm::contractor diff --git a/include/util/pool_allocator.hpp b/include/util/pool_allocator.hpp index 23b8737db..6d4eaffa4 100644 --- a/include/util/pool_allocator.hpp +++ b/include/util/pool_allocator.hpp @@ -63,6 +63,15 @@ template class PoolAllocator } } + PoolAllocator(const PoolAllocator &) {} + + PoolAllocator &operator=(const PoolAllocator &){return *this;} + + // You may also want to implement move semantics if needed + PoolAllocator(PoolAllocator &&) noexcept = default; + PoolAllocator &operator=(PoolAllocator &&) noexcept = default; + + private: size_t get_next_power_of_two_exponent(size_t n) const {