diff --git a/.gitmodules b/.gitmodules index c059448c6..c1460fcb0 100644 --- a/.gitmodules +++ b/.gitmodules @@ -32,10 +32,6 @@ [submodule "External/Catch2"] path = External/Catch2 url = https://github.com/catchorg/Catch2.git -[submodule "External/robin-map"] - shallow = true - path = External/robin-map - url = https://github.com/FEX-Emu/robin-map.git [submodule "External/Vulkan-Headers"] shallow = true path = External/Vulkan-Headers @@ -53,3 +49,6 @@ shallow = true path = External/zydis url = https://github.com/zyantific/zydis.git +[submodule "External/unordered_dense"] + path = External/unordered_dense + url = https://github.com/martinus/unordered_dense.git diff --git a/CMakeLists.txt b/CMakeLists.txt index b786ef19f..a78c36475 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -337,7 +337,7 @@ list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/Data/CMake/) include(LinkerGC) ## Externals ## -include_directories(External/robin-map/include/) +include_directories(External/unordered_dense/include/) include(CTest) if (BUILD_TESTING OR ENABLE_VIXL_DISASSEMBLER OR ENABLE_VIXL_SIMULATOR) diff --git a/External/robin-map b/External/robin-map deleted file mode 160000 index d5683d9f1..000000000 --- a/External/robin-map +++ /dev/null @@ -1 +0,0 @@ -Subproject commit d5683d9f1891e5b04e3e3b2192b5349dc8d814ea diff --git a/External/unordered_dense b/External/unordered_dense new file mode 160000 index 000000000..3234af2c0 --- /dev/null +++ b/External/unordered_dense @@ -0,0 +1 @@ +Subproject commit 3234af2c03549bc85656bfd3a86993bf1cd8aef1 diff --git a/FEXCore/include/FEXCore/fextl/robin_map.h b/FEXCore/include/FEXCore/fextl/robin_map.h index a82bd3bf2..528860af4 100644 --- a/FEXCore/include/FEXCore/fextl/robin_map.h +++ b/FEXCore/include/FEXCore/fextl/robin_map.h @@ -2,9 +2,9 @@ #pragma once #include -#include +#include namespace fextl { -template, class KeyEqual = std::equal_to, class Allocator = fextl::FEXAlloc>> -using robin_map = tsl::robin_map; +template, class KeyEqual = std::equal_to, class Allocator = fextl::FEXAlloc>> +using robin_map = ankerl::unordered_dense::map; } diff --git a/FEXCore/include/FEXCore/fextl/robin_set.h b/FEXCore/include/FEXCore/fextl/robin_set.h index 9bdb935e5..f963cc441 100644 --- a/FEXCore/include/FEXCore/fextl/robin_set.h +++ b/FEXCore/include/FEXCore/fextl/robin_set.h @@ -2,9 +2,9 @@ #pragma once #include -#include +#include namespace fextl { template, class KeyEqual = std::equal_to, class Allocator = fextl::FEXAlloc> -using robin_set = tsl::robin_set; +using robin_set = ankerl::unordered_dense::set; }