Skip to content

Commit

Permalink
Fix jsonschema failing example
Browse files Browse the repository at this point in the history
  • Loading branch information
balleddog authored May 21, 2024
1 parent 0be3e70 commit b368724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/ref/jsonschema/jsonschema.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ int main()
}
std::cout << "\n(2) Validate using reporter callback\n";
auto reporter = [](const jsonschema::validation_message& msg) -> jsonschema::walk_result
auto reporter = [](const jsonschema::validation_message& message) -> jsonschema::walk_result
{
std::cout << message.instance_location().string() << ": " << message.message() << "\n";
return jsonschema::walk_result::advance;
Expand Down

0 comments on commit b368724

Please sign in to comment.