aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/asn1/asn1_obj.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/asn1/asn1_obj.h b/src/lib/asn1/asn1_obj.h
index 7ae694977..f69c624ad 100644
--- a/src/lib/asn1/asn1_obj.h
+++ b/src/lib/asn1/asn1_obj.h
@@ -98,6 +98,14 @@ class BOTAN_PUBLIC_API(2,0) BER_Object final
public:
BER_Object() : type_tag(NO_OBJECT), class_tag(UNIVERSAL) {}
+ BER_Object(const BER_Object& other) = default;
+
+ BER_Object(BER_Object&& other) = default;
+
+ BER_Object& operator=(const BER_Object& other) = default;
+
+ BER_Object& operator=(BER_Object&& other) = default;
+
bool is_set() const { return type_tag != NO_OBJECT; }
ASN1_Tag tagging() const { return ASN1_Tag(type() | get_class()); }