@@ -375,7 +375,7 @@ namespace RTE {
375
375
// / Gets the map of mods which are disabled.
376
376
// / </summary>
377
377
// / <returns>Map of mods which are disabled.</returns>
378
- std::map <std::string, bool > & GetDisabledModsMap () { return m_DisabledMods; }
378
+ std::unordered_map <std::string, bool > & GetDisabledModsMap () { return m_DisabledMods; }
379
379
380
380
// / <summary>
381
381
// / Gets whether the specified mod is disabled in the settings.
@@ -388,7 +388,7 @@ namespace RTE {
388
388
// / Gets the map of global scripts which are enabled.
389
389
// / </summary>
390
390
// / <returns>Map of global scripts which are enabled.</returns>
391
- std::map <std::string, bool > & GetEnabledGlobalScriptMap () { return m_EnabledGlobalScripts; }
391
+ std::unordered_map <std::string, bool > & GetEnabledGlobalScriptMap () { return m_EnabledGlobalScripts; }
392
392
393
393
// / <summary>
394
394
// / Gets whether the specified global script is enabled in the settings.
@@ -563,8 +563,8 @@ namespace RTE {
563
563
bool m_MeasureModuleLoadTime; // !< Whether to measure the duration of data module loading (extraction included). For benchmarking purposes.
564
564
565
565
std::list<std::string> m_VisibleAssemblyGroupsList; // !< List of assemblies groups always shown in editors.
566
- std::map <std::string, bool > m_DisabledMods; // !< Map of the module names we disabled.
567
- std::map <std::string, bool > m_EnabledGlobalScripts; // !< Map of the global script names we enabled.
566
+ std::unordered_map <std::string, bool > m_DisabledMods; // !< Map of the module names we disabled.
567
+ std::unordered_map <std::string, bool > m_EnabledGlobalScripts; // !< Map of the global script names we enabled.
568
568
569
569
private:
570
570
0 commit comments