summaryrefslogtreecommitdiffstats
path: root/src/btop_menu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/btop_menu.cpp')
-rw-r--r--src/btop_menu.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/btop_menu.cpp b/src/btop_menu.cpp
index 5d1421f..b2c5e85 100644
--- a/src/btop_menu.cpp
+++ b/src/btop_menu.cpp
@@ -17,7 +17,7 @@ tab-size = 4
*/
#include <deque>
-#include <robin_hood.h>
+#include <unordered_map>
#include <array>
#include <signal.h>
#include <errno.h>
@@ -31,7 +31,6 @@ tab-size = 4
#include "btop_draw.hpp"
#include "btop_shared.hpp"
-using robin_hood::unordered_flat_map;
using std::array;
using std::ceil;
using std::max;
@@ -123,7 +122,7 @@ namespace Menu {
#endif
};
- unordered_flat_map<string, Input::Mouse_loc> mouse_mappings;
+ std::unordered_map<string, Input::Mouse_loc> mouse_mappings;
const array<array<string, 3>, 3> menu_normal = {
array<string, 3>{
@@ -1170,7 +1169,7 @@ namespace Menu {
static Draw::TextEdit editor;
static string warnings;
static bitset<8> selPred;
- static const unordered_flat_map<string, std::reference_wrapper<const vector<string>>> optionsList = {
+ static const std::unordered_map<string, std::reference_wrapper<const vector<string>>> optionsList = {
{"color_theme", std::cref(Theme::themes)},
{"log_level", std::cref(Logger::log_levels)},
{"temp_scale", std::cref(Config::temp_scales)},