summaryrefslogtreecommitdiff
path: root/src/user_interface.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2014-12-16 18:57:19 +0000
committerMaxime Coste <frrrwww@gmail.com>2014-12-16 18:57:19 +0000
commitebecd60eb810246cfa682a1fbd72270aa9861f0b (patch)
tree0c5c707b68cb08fc93ace2433291deb8a52db5bc /src/user_interface.hh
parentdbd7bd41bbf39d1fd5736997122a4652c78ddc50 (diff)
Rework hashing, use a more extensible framework similar to n3876 proposal
std::hash specialization is a pain to work with, stop using that, and just specialize a 'size_t hash_value(const T&)' free function.
Diffstat (limited to 'src/user_interface.hh')
-rw-r--r--src/user_interface.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/user_interface.hh b/src/user_interface.hh
index b0884394..f401bf14 100644
--- a/src/user_interface.hh
+++ b/src/user_interface.hh
@@ -2,9 +2,9 @@
#define user_interface_hh_INCLUDED
#include "safe_ptr.hh"
+#include "unordered_map.hh"
#include <functional>
-#include <unordered_map>
namespace Kakoune
{
@@ -63,7 +63,7 @@ public:
virtual void set_input_callback(InputCallback callback) = 0;
- using Options = std::unordered_map<String, String>;
+ using Options = UnorderedMap<String, String>;
virtual void set_ui_options(const Options& options) = 0;
};