From d5efc99480a5683444ee3c1b2c8c1c0f8b913be2 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Fri, 8 Jun 2018 07:18:17 -0400 Subject: Attempt at MSVC 2013 workaround --- src/lib/asn1/asn1_obj.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/lib/asn1/asn1_obj.h') 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; } -- cgit v1.2.3