Fix compile on Visual Studio 2005 without service packs

pull/709/head
Jeffrey Walton 2018-08-20 15:22:48 -04:00
parent cb5795482d
commit c0b1116082
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ bool TestSettings()
word32 w; word32 w;
const byte s[] = "\x01\x02\x03\x04"; const byte s[] = "\x01\x02\x03\x04";
#if (_MSC_FULL_VER >= 140050727) #if (_MSC_VER >= 1500)
std::copy(s, s+4, std::copy(s, s+4,
stdext::make_checked_array_iterator(reinterpret_cast<byte*>(&w), sizeof(w))); stdext::make_checked_array_iterator(reinterpret_cast<byte*>(&w), sizeof(w)));
#else #else