Actually fix the VS2010 compilation bug. I somehow missed this in the first pull request.

pull/482/head
Wyatt O'Day 2017-08-30 13:36:38 -04:00
parent c079abdbc0
commit a3da180c39
1 changed files with 1 additions and 1 deletions

View File

@ -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);