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, 1 insertions, 2 deletions
diff --git a/src/insert_completer.hh b/src/insert_completer.hh
index d7fb5967..cce433a2 100644
--- a/src/insert_completer.hh
+++ b/src/insert_completer.hh
@@ -25,8 +25,7 @@ struct InsertCompleterDesc
Line
};
- bool operator==(const InsertCompleterDesc& other) const
- { return mode == other.mode and param == other.param; }
+ bool operator==(const InsertCompleterDesc& other) const = default;
Mode mode;
Optional<String> param;