diff options
| author | Andy Sawyer | 2014-09-04 01:05:51 +0100 |
|---|---|---|
| committer | Andy Sawyer | 2014-09-04 01:05:51 +0100 |
| commit | f559a51926c6590db94029fd116e5cec6088d41f (patch) | |
| tree | 3bd48699e48510719da170151e12a88f28db7721 /projects/SelfTest/ToStringTuple.cpp | |
| parent | 13cbdf7e7d84e281820500661fdf516a4f663025 (diff) | |
| download | catch3-f559a51926c6590db94029fd116e5cec6088d41f.tar.gz | |
ToStringTuple - gcc doesn't like tuple init_list ctor
Diffstat (limited to 'projects/SelfTest/ToStringTuple.cpp')
| -rw-r--r-- | projects/SelfTest/ToStringTuple.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/projects/SelfTest/ToStringTuple.cpp b/projects/SelfTest/ToStringTuple.cpp index 46aa314b..012ee665 100644 --- a/projects/SelfTest/ToStringTuple.cpp +++ b/projects/SelfTest/ToStringTuple.cpp @@ -33,7 +33,7 @@ TEST_CASE( "tuple<string,string>", "[toString][tuple]" ) TEST_CASE( "tuple<tuple<int>,tuple<>,float>", "[toString][tuple]" ) { typedef std::tuple<std::tuple<int>,std::tuple<>,float> type; - type value { {42}, {}, 1.2f }; + type value { std::tuple<int>{42}, {}, 1.2f }; CHECK( "{ { 42 }, { }, 1.2f }" == Catch::toString(value) ); } |