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.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/asn1/asn1_obj.h b/src/lib/asn1/asn1_obj.h
index f69c624ad..572453b21 100644
--- a/src/lib/asn1/asn1_obj.h
+++ b/src/lib/asn1/asn1_obj.h
@@ -100,11 +100,13 @@ class BOTAN_PUBLIC_API(2,0) BER_Object final
BER_Object(const BER_Object& other) = default;
- BER_Object(BER_Object&& other) = default;
-
BER_Object& operator=(const BER_Object& other) = default;
+#if !defined(BOTAN_BUILD_COMPILER_IS_MSVC_2013)
+ BER_Object(BER_Object&& other) = default;
+
BER_Object& operator=(BER_Object&& other) = default;
+#endif
bool is_set() const { return type_tag != NO_OBJECT; }