Tweak std::tuple test for GCC 4.4

due to https://gcc.gnu.org/PR41530 .
This commit is contained in:
Kohei Takahashi
2016-03-11 01:01:12 +09:00
parent f29e1e8209
commit 82f24e0f73

View File

@ -27,7 +27,7 @@ main()
{
// conversion vector to std tuple
std::tuple<int, std::string> t = convert<std_tuple_tag>(make_vector(123, "Hola!!!"));
std::tuple<int, std::string> t = convert<std_tuple_tag>(make_vector(123, std::string("Hola!!!")));
BOOST_TEST(std::get<0>(t) == 123);
BOOST_TEST(std::get<1>(t) == "Hola!!!");
}