mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-04 03:43:46 +00:00
[core] Switch to ankerl::unordered_dense
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
@@ -10,9 +10,10 @@
|
||||
#include "geometry/polyline2d.hpp"
|
||||
|
||||
#include <functional>
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
||||
#include "3party/ankerl/unordered_dense.h"
|
||||
|
||||
namespace dp
|
||||
{
|
||||
class TextureManager;
|
||||
@@ -48,6 +49,6 @@ private:
|
||||
m2::PolylineD m_polyline;
|
||||
double m_baseDepthIndex = 0.0;
|
||||
};
|
||||
std::unordered_map<dp::DrapeID, RouteCacheData> m_routeCache;
|
||||
ankerl::unordered_dense::map<dp::DrapeID, RouteCacheData> m_routeCache;
|
||||
};
|
||||
} // namespace df
|
||||
|
||||
Reference in New Issue
Block a user