diff --git a/test/endian_test.cpp b/test/endian_test.cpp index 72fb00c..e67715f 100644 --- a/test/endian_test.cpp +++ b/test/endian_test.cpp @@ -74,7 +74,7 @@ namespace ++v; // verify integer_cover_operators being applied to this type - // will fail to compile if no endian<> specialization is present - Endian x = v+v; + Endian x(v+v); if ( x == x ) // silence warning return; } diff --git a/test/msvc2012/endian_test/endian_test.vcxproj b/test/msvc2012/endian_test/endian_test.vcxproj index 359903c..740a2e8 100644 --- a/test/msvc2012/endian_test/endian_test.vcxproj +++ b/test/msvc2012/endian_test/endian_test.vcxproj @@ -61,6 +61,7 @@ EditAndContinue + Level3 true