diff options
author | Jeffrey Walton <noloader@gmail.com> | 2020-08-06 17:55:45 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2020-08-06 17:55:45 -0400 |
commit | 96344bc7673ede21ca8032961e8e8c5640e108b8 (patch) | |
tree | d25014b95bdaba6209241fb84bc97747d31bcf4d /secblock.h | |
parent | 3b311b3ddc821688889be3fdd338c28a98e66666 (diff) | |
download | cryptopp-git-96344bc7673ede21ca8032961e8e8c5640e108b8.tar.gz |
Use CRYPTOPP_CXX11_STRONG_ENUM define name
Diffstat (limited to 'secblock.h')
-rw-r--r-- | secblock.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -58,7 +58,7 @@ public: static const size_type ELEMS_MAX = ...;
#elif defined(_MSC_VER) && (_MSC_VER <= 1400)
static const size_type ELEMS_MAX = (~(size_type)0)/sizeof(T);
-#elif defined(CRYPTOPP_CXX11_ENUM)
+#elif defined(CRYPTOPP_CXX11_STRONG_ENUM)
enum : size_type {ELEMS_MAX = SIZE_MAX/sizeof(T)};
#else
static const size_type ELEMS_MAX = SIZE_MAX/sizeof(T);
@@ -730,7 +730,7 @@ public: static const size_type ELEMS_MAX = ...;
#elif defined(_MSC_VER) && (_MSC_VER <= 1400)
static const size_type ELEMS_MAX = (~(size_type)0)/sizeof(T);
-#elif defined(CRYPTOPP_CXX11_ENUM)
+#elif defined(CRYPTOPP_CXX11_STRONG_ENUM)
enum : size_type {ELEMS_MAX = A::ELEMS_MAX};
#else
static const size_type ELEMS_MAX = SIZE_MAX/sizeof(T);
|