Skip to content

Commit e4e90f4

Browse files
wip
1 parent 49f875c commit e4e90f4

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

Diff for: include/contractor/contractor_heap.hpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ using ContractorHeap = util::QueryHeap<NodeID,
2020
NodeID,
2121
EdgeWeight,
2222
ContractorHeapData,
23-
util::XORFastHashStorage<NodeID, NodeID>,
24-
false>;
23+
util::XORFastHashStorage<NodeID, NodeID>>;
2524

2625
} // namespace osrm::contractor
2726

Diff for: include/util/pool_allocator.hpp

+9
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,15 @@ template <typename T, size_t MinItemsInBlock = 1024> class PoolAllocator
6363
}
6464
}
6565

66+
PoolAllocator(const PoolAllocator &) {}
67+
68+
PoolAllocator &operator=(const PoolAllocator &){return *this;}
69+
70+
// You may also want to implement move semantics if needed
71+
PoolAllocator(PoolAllocator &&) noexcept = default;
72+
PoolAllocator &operator=(PoolAllocator &&) noexcept = default;
73+
74+
6675
private:
6776
size_t get_next_power_of_two_exponent(size_t n) const
6877
{

0 commit comments

Comments
 (0)