mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-23 14:43:43 +00:00
[core] Switch to ankerl::unordered_dense
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
@@ -7,9 +7,10 @@
|
||||
#include "geometry/point2d.hpp"
|
||||
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
||||
#include "3party/ankerl/unordered_dense.h"
|
||||
|
||||
namespace generator
|
||||
{
|
||||
struct RoundaboutUnit
|
||||
@@ -51,7 +52,7 @@ private:
|
||||
std::vector<MiniRoundaboutInfo> const & m_roundabouts;
|
||||
double const m_radiusMercator = 0.0;
|
||||
feature::AffiliationInterface const * m_affiliation = nullptr;
|
||||
std::unordered_map<base::GeoObjectId, feature::FeatureBuilder> m_roads;
|
||||
ankerl::unordered_dense::map<base::GeoObjectId, feature::FeatureBuilder> m_roads;
|
||||
// Skip 2 bytes to satisfy base::GeoObjectId constraints.
|
||||
uint64_t m_newWayId = 1ULL << (63 - 16);
|
||||
bool m_leftHandTraffic = false;
|
||||
|
||||
Reference in New Issue
Block a user