mirror of
https://github.com/nlohmann/json.git
synced 2026-02-12 12:42:18 +00:00
add a switch to enable implicit conversions (defaults to true)
wrap implicit conversions tests around the JSON_USE_IMPLICIT_CONVERSIONS macro
This commit is contained in:
@@ -1168,7 +1168,7 @@ TEST_CASE("Unicode" * doctest::skip())
|
||||
continue;
|
||||
}
|
||||
|
||||
std::string ptr = s;
|
||||
auto ptr = s.get<std::string>();
|
||||
|
||||
// tilde must be followed by 0 or 1
|
||||
if (ptr == "~")
|
||||
|
||||
Reference in New Issue
Block a user