From 1cec8df45e297a8136df6f293d4874ae6c6cb013 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 9 Mar 2015 13:48:41 +0000 Subject: ArrayView content is not const anymore As in upcoming std c++ array_view, ArrayView points to mutable data, use ArrayView or alias ConstArrayView for const data. --- 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 d7d831a3..daac0c18 100644 --- a/src/input_handler.hh +++ b/src/input_handler.hh @@ -61,7 +61,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(ArrayView choices, MenuCallback callback); + void menu(ArrayView choices, MenuCallback callback); // execute callback on next keypress and returns to normal mode // if callback does not change the mode itself -- cgit v1.2.3