mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-23 09:59:42 +00:00
Fix compilation of secblock.h under Visual Studio 2010 (which only has partial C++ 2011 support). (#477)
This commit is contained in:
parent
8624587943
commit
5149237a5d
@ -56,7 +56,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 = SIZE_MAX/sizeof(T)};
|
||||
#else
|
||||
static const size_type ELEMS_MAX = SIZE_MAX/sizeof(T);
|
||||
|
Loading…
Reference in New Issue
Block a user