mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-08 05:17:56 +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
@@ -7,7 +7,8 @@
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
|
||||
#include "3party/ankerl/unordered_dense.h"
|
||||
|
||||
namespace routing
|
||||
{
|
||||
@@ -33,7 +34,7 @@ private:
|
||||
std::shared_ptr<NumMwmIds> m_numMwmIds;
|
||||
CountryParentNameGetterFn m_countryParentNameGetterFn;
|
||||
|
||||
using MwmToCountry = std::unordered_map<NumMwmId, std::string>;
|
||||
using MwmToCountry = ankerl::unordered_dense::map<NumMwmId, std::string>;
|
||||
MwmToCountry m_mwmCountriesCache;
|
||||
};
|
||||
} // namespace routing
|
||||
|
||||
Reference in New Issue
Block a user