From 2fa55be40a787be71f4360fd4e36b7a790c74fa6 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 25 Oct 2023 21:06:52 +1100 Subject: Default comparison operators that can be --- src/insert_completer.hh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/insert_completer.hh') 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 param; -- cgit v1.2.3