summaryrefslogtreecommitdiff
path: root/src/insert_completer.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/insert_completer.hh')
-rw-r--r--src/insert_completer.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/insert_completer.hh b/src/insert_completer.hh
index 5d2d72ec..ed6d6d05 100644
--- a/src/insert_completer.hh
+++ b/src/insert_completer.hh
@@ -49,12 +49,13 @@ struct InsertCompletion
bool is_valid() const { return not candidates.empty(); }
};
-class InsertCompleter : public OptionManagerWatcher_AutoRegister
+class InsertCompleter : public OptionManagerWatcher
{
public:
InsertCompleter(const Context& context);
InsertCompleter(const InsertCompleter&) = delete;
InsertCompleter& operator=(const InsertCompleter&) = delete;
+ ~InsertCompleter();
void select(int offset);
void update();