Fix some warnings within tests.

This commit is contained in:
Kohei Takahashi committed 2015-01-21 01:13:19 +09:00
1 parent ce8bf1079a
commit 5e4978b870
5 files changed
+43 -16

No files matched your search

+1 -1
View File
@@ -178,7 +178,7 @@ main()
{
fusion::vector<int, float> v1(4, 2);
ns::bar v2 = {5, 3};
ns::bar v2 = {{5}, 3};
BOOST_TEST(v1 < v2);
BOOST_TEST(v1 <= v2);
BOOST_TEST(v2 > v1);
+2 -2
View File
@@ -38,12 +38,12 @@ namespace test_detail
return *this;
}
x(x const& rhs)
x(x const& /*rhs*/)
{
incr_copy();
}
x& operator=(x const& rhs)
x& operator=(x const& /*rhs*/)
{
incr_copy();
return *this;