aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cxx
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2015-07-22 18:47:56 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2015-07-22 18:47:56 +0300
commit52a273147d2693437b6cfb2a1cf5d89d37d32108 (patch)
tree6004331de92c50949e9e1d20437f3dbc6559507a /cxx
parentREADME updates (diff)
downloadaes-tools-52a273147d2693437b6cfb2a1cf5d89d37d32108.tar.gz
aes-tools-52a273147d2693437b6cfb2a1cf5d89d37d32108.zip
cxx: add a compiler workaround
Diffstat (limited to 'cxx')
-rw-r--r--cxx/include/aesnixx/error.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/cxx/include/aesnixx/error.hpp b/cxx/include/aesnixx/error.hpp
index 013e2ef..5366c0b 100644
--- a/cxx/include/aesnixx/error.hpp
+++ b/cxx/include/aesnixx/error.hpp
@@ -80,7 +80,11 @@ namespace aesni
aesni_success(get());
}
+ #if defined(_MSC_VER) && _MSC_VER < 1900
~ErrorDetailsThrowsInDestructor()
+ #else
+ ~ErrorDetailsThrowsInDestructor() noexcept(false)
+ #endif
{
if (aesni_is_error(aesni_get_error_code(get())))
throw Error(m_impl);