summaryrefslogtreecommitdiff
path: root/misc.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2020-08-05 23:29:10 -0400
committerJeffrey Walton <noloader@gmail.com>2020-08-05 23:29:10 -0400
commit66d7a2a6045d092a3d131cf06289e68b9ba46e3b (patch)
tree3f1c51c8fa469c9ffcc7bc6f97a70ab1d1b5f84e /misc.h
parent5568cac59020cd6531c683337e0b812337b282e8 (diff)
downloadcryptopp-git-66d7a2a6045d092a3d131cf06289e68b9ba46e3b.tar.gz
Fix define CRYPTOPP_CXX17_STATIC_ASSERT name
That's a C++17 feature, not C++11
Diffstat (limited to 'misc.h')
-rw-r--r--misc.h2
1 files changed, 1 insertions, 1 deletions
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 <tt>CompileAssert</tt> 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 <bool b>