You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
20 lines
594 B
C
20 lines
594 B
C
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
UNSYNC_THIRD_PARTY_INCLUDES_START
|
||
|
|
#include <flat_hash_map.hpp>
|
||
|
|
UNSYNC_THIRD_PARTY_INCLUDES_END
|
||
|
|
|
||
|
|
namespace unsync {
|
||
|
|
|
||
|
|
template<typename K, typename V, typename Hash = std::hash<K>, typename Eq = std::equal_to<K>>
|
||
|
|
// using THashMap = std::unordered_map<K,V,Hash,Eq>;
|
||
|
|
using THashMap = ska::flat_hash_map<K, V, Hash, Eq>;
|
||
|
|
|
||
|
|
template<typename K, typename Hash = std::hash<K>, typename Eq = std::equal_to<K>>
|
||
|
|
// using THashSet = std::unordered_set<K, Hash, Eq>;
|
||
|
|
using THashSet = ska::flat_hash_set<K, Hash, Eq>;
|
||
|
|
|
||
|
|
} // namespace unsync
|