[core] Switch to ankerl::unordered_dense

Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
x7z4w
2025-11-24 17:34:56 +00:00
parent 7e561d09d3
commit 0288b97b13
282 changed files with 4385 additions and 1457 deletions

View File

@@ -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)