summaryrefslogtreecommitdiff
path: root/src/commands.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2015-03-09 13:48:41 +0000
committerMaxime Coste <frrrwww@gmail.com>2015-03-09 13:54:09 +0000
commit1cec8df45e297a8136df6f293d4874ae6c6cb013 (patch)
tree7d713ba554765093238c924bcc9a6eaf7bf240ec /src/commands.hh
parent44f81d0b8b73367369de6be0757247a62876d4c1 (diff)
ArrayView content is not const anymore
As in upcoming std c++ array_view, ArrayView<T> points to mutable data, use ArrayView<const T> or alias ConstArrayView<T> for const data.
Diffstat (limited to 'src/commands.hh')
-rw-r--r--src/commands.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands.hh b/src/commands.hh
index 0923dc40..9e7479d7 100644
--- a/src/commands.hh
+++ b/src/commands.hh
@@ -10,7 +10,7 @@ namespace Kakoune
class Context;
void register_commands();
-void exec_keys(ArrayView<Key> keys, Context& context);
+void exec_keys(ConstArrayView<Key> keys, Context& context);
}