summaryrefslogtreecommitdiff
path: root/src/insert_completer.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2016-09-21 13:38:34 +0100
committerMaxime Coste <frrrwww@gmail.com>2016-09-21 13:43:06 +0100
commit532e3758fefcca83cb01e848602c116b77b3d96a (patch)
tree92d0b4b1e7908a8bcc5fe0ddda0d30ee7fed2db2 /src/insert_completer.hh
parent12f2815159f52d37e4ed6adef2580d9fd240b350 (diff)
Add InsertCompletionShow/InsertCompletionHide hooks
Diffstat (limited to 'src/insert_completer.hh')
-rw-r--r--src/insert_completer.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/insert_completer.hh b/src/insert_completer.hh
index 8868337b..d29af8bd 100644
--- a/src/insert_completer.hh
+++ b/src/insert_completer.hh
@@ -75,7 +75,7 @@ struct InsertCompletion
class InsertCompleter : public OptionManagerWatcher
{
public:
- InsertCompleter(const Context& context);
+ InsertCompleter(Context& context);
InsertCompleter(const InsertCompleter&) = delete;
InsertCompleter& operator=(const InsertCompleter&) = delete;
~InsertCompleter();
@@ -97,7 +97,7 @@ private:
void menu_show();
- const Context& m_context;
+ Context& m_context;
OptionManager& m_options;
InsertCompletion m_completions;
int m_current_candidate = -1;