summaryrefslogtreecommitdiff
path: root/lang/cpp/src/decryptionresult.h
diff options
context:
space:
mode:
Diffstat (limited to 'lang/cpp/src/decryptionresult.h')
-rw-r--r--lang/cpp/src/decryptionresult.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lang/cpp/src/decryptionresult.h b/lang/cpp/src/decryptionresult.h
index e4d542dd..84026d39 100644
--- a/lang/cpp/src/decryptionresult.h
+++ b/lang/cpp/src/decryptionresult.h
@@ -47,6 +47,7 @@ public:
DecryptionResult(gpgme_ctx_t ctx, const Error &err);
explicit DecryptionResult(const Error &err);
+ DecryptionResult(const DecryptionResult &other) = default;
const DecryptionResult &operator=(DecryptionResult other)
{
swap(other);
@@ -103,6 +104,7 @@ public:
Recipient();
explicit Recipient(gpgme_recipient_t reci);
+ Recipient(const Recipient &other) = default;
const Recipient &operator=(Recipient other)
{
swap(other);