From 23809a35761107dffd3cfec6adacafebf5219acc Mon Sep 17 00:00:00 2001 From: Wyatt O'Day Date: Wed, 30 Aug 2017 13:46:14 -0400 Subject: [PATCH] Actually fix the VS2010 compilation bug. I somehow missed this in the first pull request. (#482) Thank you very much. --- secblock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/secblock.h b/secblock.h index 2ebd56f8..13dc2ff6 100644 --- a/secblock.h +++ b/secblock.h @@ -526,7 +526,7 @@ public: //! \since Crypto++ 6.0 #if defined(CRYPTOPP_DOXYGEN_PROCESSING) static const size_type ELEMS_MAX = ...; -#elif defined(CRYPTOPP_CXX11) +#elif defined(CRYPTOPP_CXX11_ENUM) enum : size_type {ELEMS_MAX = A::ELEMS_MAX}; #else static const size_type ELEMS_MAX = SIZE_MAX/sizeof(T);