Actually fix the VS2010 compilation bug. I somehow missed this in the first pull request. (#482)
Thank you very much.pull/483/head
parent
c079abdbc0
commit
23809a3576
|
|
@ -526,7 +526,7 @@ public:
|
||||||
//! \since Crypto++ 6.0
|
//! \since Crypto++ 6.0
|
||||||
#if defined(CRYPTOPP_DOXYGEN_PROCESSING)
|
#if defined(CRYPTOPP_DOXYGEN_PROCESSING)
|
||||||
static const size_type ELEMS_MAX = ...;
|
static const size_type ELEMS_MAX = ...;
|
||||||
#elif defined(CRYPTOPP_CXX11)
|
#elif defined(CRYPTOPP_CXX11_ENUM)
|
||||||
enum : size_type {ELEMS_MAX = A::ELEMS_MAX};
|
enum : size_type {ELEMS_MAX = A::ELEMS_MAX};
|
||||||
#else
|
#else
|
||||||
static const size_type ELEMS_MAX = SIZE_MAX/sizeof(T);
|
static const size_type ELEMS_MAX = SIZE_MAX/sizeof(T);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue