aboutsummaryrefslogtreecommitdiff
path: root/src/common/container/unordered_map.h
blob: c4d4a726635feb826ca7c3ce56b9f7cb6ce4a36a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later

#pragma once

#include "common/container_hash.h"

#include <boost/unordered/unordered_flat_map.hpp>

namespace Common {

template <class Key, class T, class Hash = FastHash<Key>, class Pred = std::equal_to<Key>,
          class Allocator = std::allocator<std::pair<const Key, T>>>
using unordered_map = boost::unordered::unordered_flat_map<Key, T, Hash, Pred, Allocator>;

}