diff options
author | 2022-05-24 00:49:51 +1000 | |
---|---|---|
committer | 2022-05-24 00:49:51 +1000 | |
commit | e98578053392a69f4145e9a018f5ecb93b939ac3 (patch) | |
tree | cadfaa77f8cfb9b2c9c14c797f3472c942434b84 | |
parent | 3a648248c27777b9a8e4802e09b2a7d4336fd3d0 (diff) |
ui/ui.cpp: Use unordered map for session data, to tempt fate with toolchain bugs.
-rw-r--r-- | src/frontend/mame/ui/ui.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/mame/ui/ui.h b/src/frontend/mame/ui/ui.h index cec1ed67cfe..e773e669cd6 100644 --- a/src/frontend/mame/ui/ui.h +++ b/src/frontend/mame/ui/ui.h @@ -24,11 +24,11 @@ #include <any> #include <cassert> #include <ctime> -#include <map> #include <set> #include <string_view> #include <typeindex> #include <typeinfo> +#include <unordered_map> #include <utility> #include <vector> @@ -229,7 +229,7 @@ public: private: using handler_callback_func = delegate<uint32_t (render_container &)>; using device_feature_set = std::set<std::pair<std::string, std::string> >; - using session_data_map = std::map<std::type_index, std::any>; + using session_data_map = std::unordered_map<std::type_index, std::any>; // instance variables std::unique_ptr<render_font> m_font; |