summaryrefslogtreecommitdiff
path: root/src/input_handler.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2013-07-26 01:17:12 +0200
committerMaxime Coste <frrrwww@gmail.com>2013-07-26 01:50:36 +0200
commiteedd37c09acace58ceadacf8ecf9e883a2fd5a4a (patch)
treeab3123463bd9b54ef61d74012abc49313572331b /src/input_handler.hh
parent3862b5cbb8faf1514ed8a8fc413669414e7c614d (diff)
memoryview: always pass by value
Diffstat (limited to 'src/input_handler.hh')
-rw-r--r--src/input_handler.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_handler.hh b/src/input_handler.hh
index 5dccced1..ccd8426c 100644
--- a/src/input_handler.hh
+++ b/src/input_handler.hh
@@ -57,7 +57,7 @@ public:
// abort or validation with corresponding MenuEvent value
// returns to normal mode after validation if callback does
// not change the mode itself
- void menu(const memoryview<String>& choices,
+ void menu(memoryview<String> choices,
MenuCallback callback);
// execute callback on next keypress and returns to normal mode