mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-02 19:13:44 +00:00
[core] Switch to ankerl::unordered_dense
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
|
||||
#include <google/protobuf/text_format.h>
|
||||
|
||||
#include "3party/ankerl/unordered_dense.h"
|
||||
|
||||
namespace drule
|
||||
{
|
||||
using namespace std;
|
||||
@@ -345,7 +347,7 @@ void RulesHolder::InitBackgroundColors(ContainerProto const & cont)
|
||||
uint32_t bgColorDefault = DEFAULT_BG_COLOR;
|
||||
|
||||
// Background colors specified for scales
|
||||
unordered_map<int, uint32_t> bgColorForScale;
|
||||
ankerl::unordered_dense::map<int, uint32_t> bgColorForScale;
|
||||
|
||||
// Find the "natural-land" classification element
|
||||
for (int i = 0; i < cont.cont_size(); ++i)
|
||||
|
||||
Reference in New Issue
Block a user