diff options
Diffstat (limited to 'src/btop_draw.hpp')
-rw-r--r-- | src/btop_draw.hpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/btop_draw.hpp b/src/btop_draw.hpp index af57ed8..b049a57 100644 --- a/src/btop_draw.hpp +++ b/src/btop_draw.hpp @@ -21,10 +21,9 @@ tab-size = 4 #include <string> #include <vector> #include <array> -#include <robin_hood.h> +#include <unordered_map> #include <deque> -using robin_hood::unordered_flat_map; using std::array; using std::deque; using std::string; @@ -108,7 +107,7 @@ namespace Draw { long long offset; long long last = 0, max_value = 0; bool current = true, tty_mode = false; - unordered_flat_map<bool, vector<string>> graphs = { {true, {}}, {false, {}}}; + std::unordered_map<bool, vector<string>> graphs = { {true, {}}, {false, {}}}; //* Create two representations of the graph to switch between to represent two values for each braille character void _create(const deque<long long>& data, int data_offset); @@ -135,6 +134,6 @@ namespace Draw { namespace Proc { extern Draw::TextEdit filter; - extern unordered_flat_map<size_t, Draw::Graph> p_graphs; - extern unordered_flat_map<size_t, int> p_counters; + extern std::unordered_map<size_t, Draw::Graph> p_graphs; + extern std::unordered_map<size_t, int> p_counters; } |