diff options
author | Jeffrey Walton <noloader@gmail.com> | 2020-08-05 23:29:10 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2020-08-05 23:29:10 -0400 |
commit | 66d7a2a6045d092a3d131cf06289e68b9ba46e3b (patch) | |
tree | 3f1c51c8fa469c9ffcc7bc6f97a70ab1d1b5f84e /misc.h | |
parent | 5568cac59020cd6531c683337e0b812337b282e8 (diff) | |
download | cryptopp-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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>
|