diff options
author | Jeffrey Walton <noloader@gmail.com> | 2019-07-14 19:02:58 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2019-07-14 19:02:58 -0400 |
commit | f5881d121a5d3adbcb16d8ef3fcaa6b98e70159d (patch) | |
tree | 80320e70a90249bd5315fe0373e125e3750ac1ef /config_cxx.h | |
parent | 002e794ae2300d68fadac0b49fc9e15e896f8f5f (diff) | |
download | cryptopp-git-f5881d121a5d3adbcb16d8ef3fcaa6b98e70159d.tar.gz |
CRYPTOPP_CXX11_STATIC_ASSERT -> CRYPTOPP_CXX14_STATIC_ASSERT
WHoops, this is a C++14 feature
Diffstat (limited to 'config_cxx.h')
-rw-r--r-- | config_cxx.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/config_cxx.h b/config_cxx.h index 7d6bd001..9aada65f 100644 --- a/config_cxx.h +++ b/config_cxx.h @@ -172,13 +172,15 @@ # define CRYPTOPP_CXX11_NULLPTR 1
#endif // nullptr_t compilers
+#endif // CRYPTOPP_CXX11
+
+// ***************** C++14 and above ********************
+
// Extended static_assert with one argument
#if (__cpp_static_assert >= 201411)
-# define CRYPTOPP_CXX11_STATIC_ASSERT 1
+# define CRYPTOPP_CXX14_STATIC_ASSERT 1
#endif // static_assert
-#endif // CRYPTOPP_CXX11
-
// ***************** C++17 and above ********************
// C++17 is available
|