From eedd37c09acace58ceadacf8ecf9e883a2fd5a4a Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Fri, 26 Jul 2013 01:17:12 +0200 Subject: memoryview: always pass by value --- src/input_handler.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/input_handler.hh') 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& choices, + void menu(memoryview choices, MenuCallback callback); // execute callback on next keypress and returns to normal mode -- cgit v1.2.3