aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/asn1/asn1_obj.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/asn1/asn1_obj.h')
-rw-r--r--src/lib/asn1/asn1_obj.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/asn1/asn1_obj.h b/src/lib/asn1/asn1_obj.h
index 5e09da2fd..536f75ced 100644
--- a/src/lib/asn1/asn1_obj.h
+++ b/src/lib/asn1/asn1_obj.h
@@ -73,7 +73,10 @@ class BOTAN_DLL ASN1_Object
*/
virtual void decode_from(BER_Decoder& from) = 0;
- virtual ~ASN1_Object() {}
+ ASN1_Object() = default;
+ ASN1_Object(const ASN1_Object&) = default;
+ ASN1_Object & operator=(const ASN1_Object&) = default;
+ virtual ~ASN1_Object() = default;
};
/**