diff options
author | Ingo Klöcker <[email protected]> | 2021-01-04 15:29:36 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2021-01-04 15:30:41 +0000 |
commit | a6220adf3081c9c848f6d0a6fc3774cb168ccf9c (patch) | |
tree | 11eaee9f7290a3b3106d5ce68cc2a8112dc04957 /lang/cpp/src/key.h | |
parent | Qt: Undeprecate QByteArray based start functs (diff) | |
download | gpgme-a6220adf3081c9c848f6d0a6fc3774cb168ccf9c.tar.gz gpgme-a6220adf3081c9c848f6d0a6fc3774cb168ccf9c.zip |
cpp: Add const-overload of UserID::Signature::operator<
lang/cpp/src/key.h, lang/cpp/src/key.cpp (UserID::Signature::operator<):
Add const-overload. Deprecate non-const overload.
--
This fixes compilation on FreeBSD with clang 10.
Diffstat (limited to 'lang/cpp/src/key.h')
-rw-r--r-- | lang/cpp/src/key.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/cpp/src/key.h b/lang/cpp/src/key.h index a7931672..515bf185 100644 --- a/lang/cpp/src/key.h +++ b/lang/cpp/src/key.h @@ -468,7 +468,9 @@ public: } /*! Defines a canonical sort order for signatures of the same user ID. */ - bool operator<(const Signature &other); + bool operator<(const Signature &other) const; + + GPGMEPP_DEPRECATED bool operator<(const Signature &other); bool isNull() const { |