You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
This is useful for people who want to download each data set into a uniquely named directory, instead of always patching the last downloaded version. Current implementation is highly experimental and should only be used for testing purposes. #jira UE-178864 #rb none #preflight skip [CL 25190443 by Yuriy ODonnell in ue5-main branch]
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
|