diff options
author | Jack Lloyd <[email protected]> | 2018-06-08 07:18:17 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-06-08 07:18:17 -0400 |
commit | d5efc99480a5683444ee3c1b2c8c1c0f8b913be2 (patch) | |
tree | 799a850ef3d6f7d14213f779846224c37297c7d0 /src/lib/asn1/asn1_obj.h | |
parent | 1d474f74977ed7ba0609307316f11a708fd13159 (diff) |
Attempt at MSVC 2013 workaround
Diffstat (limited to 'src/lib/asn1/asn1_obj.h')
-rw-r--r-- | src/lib/asn1/asn1_obj.h | 6 |
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; } |