mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 21:13:35 +00:00
[core] Switch to ankerl::unordered_dense
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
@@ -8,9 +8,10 @@
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
||||
#include "3party/ankerl/unordered_dense.h"
|
||||
|
||||
namespace generator
|
||||
{
|
||||
/// \brief Generates a binary file by |mappingContent| with mapping from osm ids to feature ids.
|
||||
@@ -42,7 +43,7 @@ public:
|
||||
void SetPassThroughAllowed(uint32_t featureId, bool passThroughAllowed);
|
||||
|
||||
private:
|
||||
std::unordered_map<uint32_t, RoadGeometry> m_roads;
|
||||
ankerl::unordered_dense::map<uint32_t, RoadGeometry> m_roads;
|
||||
};
|
||||
|
||||
std::shared_ptr<EdgeEstimator> CreateEstimatorForCar(traffic::TrafficCache const & trafficCache);
|
||||
|
||||
Reference in New Issue
Block a user