From 83746abdf677f573287be2c93d2ad12b1aa84b3f Mon Sep 17 00:00:00 2001 From: Tobias Fella <9750016+TobiasFella@users.noreply.github.com> Date: Sat, 10 Sep 2022 13:42:39 +0200 Subject: Update lib/keyverificationsession.h Co-authored-by: Alexey Rusakov --- lib/keyverificationsession.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/keyverificationsession.h b/lib/keyverificationsession.h index 31f63453..b2e3b36d 100644 --- a/lib/keyverificationsession.h +++ b/lib/keyverificationsession.h @@ -21,9 +21,7 @@ struct QUOTIENT_API EmojiEntry { Q_PROPERTY(QString description MEMBER description CONSTANT) public: - bool operator==(const EmojiEntry& rhs) const { - return emoji == rhs.emoji && description == rhs.description; - } + bool operator==(const EmojiEntry& rhs) const = default; }; /** A key verification session. Listen for incoming sessions by connecting to Connection::newKeyVerificationSession. -- cgit v1.2.3