Clear compiler warnings

[SVN r75185]
This commit is contained in:
Beman Dawes
2011-10-31 11:21:10 +00:00
parent 5ae1de8cec
commit b899a529a5
16 changed files with 41 additions and 7 deletions
+3
View File
@@ -12,6 +12,8 @@
namespace boost_no_constexpr {
void quiet_warning(int){}
constexpr int square(int x) { return x * x; } // from N2235
// from 5.19:
@@ -37,6 +39,7 @@ X<a> xx; // OK: unique conversion to int
int test()
{
int i = square(5);
quiet_warning(i);
return 0;
}