wip
This commit is contained in:
parent
49f875c0f8
commit
7eb2d93a82
@ -20,8 +20,7 @@ using ContractorHeap = util::QueryHeap<NodeID,
|
|||||||
NodeID,
|
NodeID,
|
||||||
EdgeWeight,
|
EdgeWeight,
|
||||||
ContractorHeapData,
|
ContractorHeapData,
|
||||||
util::XORFastHashStorage<NodeID, NodeID>,
|
util::XORFastHashStorage<NodeID, NodeID>>;
|
||||||
false>;
|
|
||||||
|
|
||||||
} // namespace osrm::contractor
|
} // namespace osrm::contractor
|
||||||
|
|
||||||
|
@ -63,6 +63,15 @@ template <typename T, size_t MinItemsInBlock = 1024> 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:
|
private:
|
||||||
size_t get_next_power_of_two_exponent(size_t n) const
|
size_t get_next_power_of_two_exponent(size_t n) const
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user