From 197ba151e70c0aef35ee713b119d49e4637c1d05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingo=20Kl=C3=B6cker?= Date: Tue, 4 Aug 2020 16:09:05 +0200 Subject: cpp: Add ostream operator for subkey * lang/cpp/src/key.cpp (Subkey): Add ostream operator. * lang/cpp/src/key.h: Update accordingly. -- This is helpful for debugging / showing the state of a subkey. --- lang/cpp/src/key.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lang/cpp/src/key.h') diff --git a/lang/cpp/src/key.h b/lang/cpp/src/key.h index fc5e67ee..d3c6125a 100644 --- a/lang/cpp/src/key.h +++ b/lang/cpp/src/key.h @@ -516,6 +516,7 @@ private: }; GPGMEPP_EXPORT std::ostream &operator<<(std::ostream &os, const UserID &uid); +GPGMEPP_EXPORT std::ostream &operator<<(std::ostream &os, const Subkey &subkey); GPGMEPP_EXPORT std::ostream &operator<<(std::ostream &os, const Key &key); } // namespace GpgME -- cgit v1.2.3