diff options
author | Jack Lloyd <[email protected]> | 2017-09-29 10:21:38 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-09-29 10:21:38 -0400 |
commit | ed2deecfbffa96df24e139f315f7d0bc9bdc55b5 (patch) | |
tree | 660a108cf598baab31572169199dbec6173a0c53 /src/lib/base | |
parent | b3fa3d7072324c9217baf46a980b26030978d291 (diff) |
Of course MSVC 2013 has to be special
Diffstat (limited to 'src/lib/base')
-rw-r--r-- | src/lib/base/secmem.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/base/secmem.h b/src/lib/base/secmem.h index 4124af921..04a67933f 100644 --- a/src/lib/base/secmem.h +++ b/src/lib/base/secmem.h @@ -38,10 +38,17 @@ class secure_allocator typedef T value_type; +#ifdef BOTAN_BUILD_COMPILER_IS_MSVC_2013 + secure_allocator() = default; + secure_allocator(const secure_allocator&) = default; + secure_allocator& operator=(const secure_allocator&) = default; + ~secure_allocator() = default; +#else secure_allocator() BOTAN_NOEXCEPT = default; secure_allocator(const secure_allocator&) BOTAN_NOEXCEPT = default; secure_allocator& operator=(const secure_allocator&) BOTAN_NOEXCEPT = default; ~secure_allocator() BOTAN_NOEXCEPT = default; +#endif template<typename U> secure_allocator(const secure_allocator<U>&) BOTAN_NOEXCEPT {} |