summaryrefslogtreecommitdiff
path: root/src/keys.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2014-04-20 11:27:59 +0100
committerMaxime Coste <frrrwww@gmail.com>2014-04-20 11:27:59 +0100
commit055eacd032d80f9359f1a05afe48d126bb5ccd3b (patch)
tree06b3ff6ee968b318ce6ba89b6d7c58ee6ae68e59 /src/keys.hh
parentb2123547df158250fdbfc8a445b91327808a8a5c (diff)
use StringView for parse_keys
Diffstat (limited to 'src/keys.hh')
-rw-r--r--src/keys.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keys.hh b/src/keys.hh
index de775552..d64cee2e 100644
--- a/src/keys.hh
+++ b/src/keys.hh
@@ -66,7 +66,7 @@ struct Key
using KeyList = std::vector<Key>;
-KeyList parse_keys(const String& str);
+KeyList parse_keys(StringView str);
String key_to_str(Key key);
constexpr Key alt(Codepoint key) { return { Key::Modifiers::Alt, key }; }