mirror of
https://github.com/diasurgical/DevilutionX.git
synced 2026-06-20 05:44:36 +00:00
Switch to ankerl::unordered_dense
This commit is contained in:
+2
-2
@@ -2,8 +2,8 @@
|
||||
|
||||
#include <optional>
|
||||
#include <string_view>
|
||||
#include <unordered_map>
|
||||
|
||||
#include <ankerl/unordered_dense.h>
|
||||
#include <sol/sol.hpp>
|
||||
|
||||
#include <config.h>
|
||||
@@ -30,7 +30,7 @@ namespace {
|
||||
struct LuaState {
|
||||
sol::state sol = {};
|
||||
sol::table commonPackages = {};
|
||||
std::unordered_map<std::string, sol::bytecode> compiledScripts = {};
|
||||
ankerl::unordered_dense::segmented_map<std::string, sol::bytecode> compiledScripts = {};
|
||||
sol::environment sandbox = {};
|
||||
sol::table events = {};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user