Actually fix the VS2010 compilation bug. I somehow missed this in the first pull request. (#482)

Thank you very much.
pull/483/head
Wyatt O'Day 2017-08-30 13:46:14 -04:00 committed by Jeffrey Walton
parent c079abdbc0
commit 23809a3576
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);