Suppress conversion warnings on MSVC.

This commit is contained in:
Kohei Takahashi committed 2016-02-16 01:02:58 +09:00
1 parent 100d223be4
commit 4173b4b97b
20 files changed
+43 -43

No files matched your search

+3 -3
View File
@@ -186,9 +186,9 @@ main()
}
{
vector<int, float, int> v1(4, 2, 2);
vector<int, float, int> v1(4, 2.f, 2);
point v2 = {5, 3, 3};
vector<long, double, int> v3(5, 4, 4);
vector<long, double, int> v3(5, 4., 4);
BOOST_TEST(v1 < v2);
BOOST_TEST(v1 <= v2);
BOOST_TEST(v2 > v1);
@@ -243,7 +243,7 @@ main()
#endif
{
fusion::vector<int, float> v1(4, 2);
fusion::vector<int, float> v1(4, 2.f);
ns::bar v2 = {{5}, 3};
BOOST_TEST(v1 < v2);
BOOST_TEST(v1 <= v2);