File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 8
8
9
9
#include < map>
10
10
#include < vector>
11
+ #include < tuple>
11
12
12
13
#include < catch/catch.hpp>
13
14
@@ -76,16 +77,16 @@ TEST_CASE("reflect decode json with error")
76
77
auto result = jsoncons::reflect::try_decode_json<std::tuple<bool ,int ,std::string>>(s);
77
78
78
79
REQUIRE (result);
79
- CHECK (get<0 >(result.value ()) == false );
80
+ CHECK (std:: get<0 >(result.value ()) == false );
80
81
}
81
82
SECTION (" decode array to pair" )
82
83
{
83
84
std::string s = R"( [1.5, "foo"])" ;
84
85
auto result = jsoncons::reflect::try_decode_json<std::pair<double ,std::string>>(s);
85
86
86
87
REQUIRE (result);
87
- CHECK (1.5 == get<0 >(result.value ()));
88
- CHECK (" foo" == get<1 >(result.value ()));
88
+ CHECK (1.5 == std:: get<0 >(result.value ()));
89
+ CHECK (" foo" == std:: get<1 >(result.value ()));
89
90
}
90
91
}
91
92
You can’t perform that action at this time.
0 commit comments