Better fix that works with more compilers, old and new, VC++ and GCC.

This commit is contained in:
Beman committed 2013-05-13 11:05:31 -04:00
1 parent 62915438e3
commit db2f30b77c
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -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;
}