diff options
| author | Maxime Coste <mawww@kakoune.org> | 2023-10-25 21:06:52 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2023-10-25 21:06:52 +1100 |
| commit | 2fa55be40a787be71f4360fd4e36b7a790c74fa6 (patch) | |
| tree | 4ba6c0bc844f2d4ce6a004ae71ef52aa21f95448 /src/insert_completer.hh | |
| parent | 96884193ddad76530a09a1b095180b0ca8257b7c (diff) | |
Default comparison operators that can be
Diffstat (limited to 'src/insert_completer.hh')
| -rw-r--r-- | src/insert_completer.hh | 3 |
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; |
