Unverified Commit 13d4f8f5 authored by Niels Lohmann's avatar Niels Lohmann Committed by GitHub

Merge pull request #1639 from taylorhoward92/develop

Add explicit conversion from json to std::string_view in conversion unit test
parents 4fc98e0b 2f389cdd
......@@ -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