mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-29 01:03:46 +00:00
[core] Switch to ankerl::unordered_dense
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
committed by
Konstantin Pastbin
parent
a60efa9b43
commit
969e1ef2da
@@ -29,9 +29,10 @@
|
||||
#include <algorithm>
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
||||
#include "3party/ankerl/unordered_dense.h"
|
||||
|
||||
namespace index_graph_test
|
||||
{
|
||||
using namespace routing;
|
||||
@@ -516,7 +517,7 @@ UNIT_TEST(SerializeSimpleGraph)
|
||||
MakeJoint({{1, 1}, {2, 0}}),
|
||||
};
|
||||
graph.Import(joints);
|
||||
unordered_map<uint32_t, VehicleMask> masks;
|
||||
ankerl::unordered_dense::map<uint32_t, VehicleMask> masks;
|
||||
masks[0] = kPedestrianMask;
|
||||
masks[1] = kCarMask;
|
||||
masks[2] = kCarMask;
|
||||
|
||||
Reference in New Issue
Block a user