diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/keyverificationsession.h | 4 |
1 files changed, 1 insertions, 3 deletions
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. |