From 66d7a2a6045d092a3d131cf06289e68b9ba46e3b Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Wed, 5 Aug 2020 23:29:10 -0400 Subject: Fix define CRYPTOPP_CXX17_STATIC_ASSERT name That's a C++17 feature, not C++11 --- misc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc.h') diff --git a/misc.h b/misc.h index d3274a88..c1f813b0 100644 --- a/misc.h +++ b/misc.h @@ -147,7 +147,7 @@ class Integer; /// a CompileAssert structure is used. When the structure is used /// a negative-sized array triggers the assert at compile time. # define CRYPTOPP_COMPILE_ASSERT(expr) { ... } -#elif defined(CRYPTOPP_CXX14_STATIC_ASSERT) +#elif defined(CRYPTOPP_CXX17_STATIC_ASSERT) # define CRYPTOPP_COMPILE_ASSERT(expr) static_assert(expr) #else // CRYPTOPP_DOXYGEN_PROCESSING template -- cgit v1.2.1