aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cpp/src/key.h
diff options
context:
space:
mode:
Diffstat (limited to 'lang/cpp/src/key.h')
-rw-r--r--lang/cpp/src/key.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lang/cpp/src/key.h b/lang/cpp/src/key.h
index d3c6125a..a7931672 100644
--- a/lang/cpp/src/key.h
+++ b/lang/cpp/src/key.h
@@ -467,6 +467,9 @@ public:
swap(this->sig, other.sig);
}
+ /*! Defines a canonical sort order for signatures of the same user ID. */
+ bool operator<(const Signature &other);
+
bool isNull() const
{
return !sig || !uid || !key ;