aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Fella <9750016+TobiasFella@users.noreply.github.com>2022-09-10 13:42:39 +0200
committerGitHub <noreply@github.com>2022-09-10 13:42:39 +0200
commit83746abdf677f573287be2c93d2ad12b1aa84b3f (patch)
treeafb7c301a7465feb07c05d3d2834422693fa83ae
parentecf6b855b0fc8cbe16d34b67ae1dca7bd9b69948 (diff)
downloadlibquotient-83746abdf677f573287be2c93d2ad12b1aa84b3f.tar.gz
libquotient-83746abdf677f573287be2c93d2ad12b1aa84b3f.zip
Update lib/keyverificationsession.h
Co-authored-by: Alexey Rusakov <Kitsune-Ral@users.sf.net>
-rw-r--r--lib/keyverificationsession.h4
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.