Added explicit converstion to std::string_view. Fixes failing test with GCC 8.3
This commit is contained in:
parent
4fc98e0b34
commit
2f389cdde7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user