From a3da180c39f5e16b40971305519bd173baa27b06 Mon Sep 17 00:00:00 2001 From: Wyatt O'Day Date: Wed, 30 Aug 2017 13:36:38 -0400 Subject: [PATCH] Actually fix the VS2010 compilation bug. I somehow missed this in the first pull request. --- 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);