Commit 2f389cdd authored by Taylor Howard's avatar Taylor Howard

Added explicit converstion to std::string_view. Fixes failing test with GCC 8.3

parent 4fc98e0b
......@@ -613,7 +613,7 @@ TEST_CASE("value conversion")
#if defined(JSON_HAS_CPP_17)
SECTION("std::string_view")
{
std::string_view s = j;
std::string_view s = j.get<std::string_view>();
CHECK(json(s) == j);
}
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment