diff --git a/algparam.h b/algparam.h index 15515313..61783371 100644 --- a/algparam.h +++ b/algparam.h @@ -320,8 +320,8 @@ public: if (m_throwIfNotUsed && !m_used) throw ParameterNotUsed(m_name); } -#if !defined(CRYPTOPP_CXX17_EXCEPTIONS) -# if !defined(CRYPTOPP_UNCAUGHT_EXCEPTION_AVAILABLE) +#if !defined(CRYPTOPP_UNCAUGHT_EXCEPTION_AVAILABLE) +# if !defined(CRYPTOPP_CXX17_EXCEPTIONS) catch(const Exception&) { }