diff options
author | Jeffrey Walton <noloader@gmail.com> | 2020-08-06 06:40:16 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2020-08-06 06:40:16 -0400 |
commit | fdb977a2c691f87903f4db4c25882b4c95bea406 (patch) | |
tree | 7cfaa91b7fc8b5b2b1cd42940c0f945083b85ca0 /algparam.h | |
parent | 36c9ecd66dafaac43ca0622a3f5e52dae05ec956 (diff) | |
download | cryptopp-git-fdb977a2c691f87903f4db4c25882b4c95bea406.tar.gz |
Add C++11 auto feature detection
Diffstat (limited to 'algparam.h')
-rw-r--r-- | algparam.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -315,7 +315,7 @@ public: #if defined(CRYPTOPP_CXX17_UNCAUGHT_EXCEPTIONS)
if (std::uncaught_exceptions() == 0)
-#elif defined(CRYPTOPP_UNCAUGHT_EXCEPTION_AVAILABLE)
+#elif defined(CRYPTOPP_CXX98_UNCAUGHT_EXCEPTION)
if (std::uncaught_exception() == false)
#else
try
@@ -324,7 +324,7 @@ public: if (m_throwIfNotUsed && !m_used)
throw ParameterNotUsed(m_name);
}
-#if !defined(CRYPTOPP_UNCAUGHT_EXCEPTION_AVAILABLE)
+#if !defined(CRYPTOPP_CXX98_UNCAUGHT_EXCEPTION)
# if !defined(CRYPTOPP_CXX17_UNCAUGHT_EXCEPTIONS)
catch(const Exception&)
{
|