mirror of
https://github.com/nlohmann/json.git
synced 2025-07-29 23:01:16 +03:00
🚨 fix warning
This commit is contained in:
@ -79,8 +79,8 @@ int main()
|
||||
|
||||
// visit and output
|
||||
j.visit(
|
||||
[&](const json::json_pointer & p,
|
||||
const json & j)
|
||||
[&](const json::json_pointer & p,
|
||||
const json & j)
|
||||
{
|
||||
std::cout << (p.empty() ? std::string{"/"} : p.to_string())
|
||||
<< " - metadata = " << j.metadata << " -> " << j.dump() << '\n';
|
||||
|
Reference in New Issue
Block a user