Skip to content

Commit

Permalink
Merge pull request #512 from balleddog/master
Browse files Browse the repository at this point in the history
Fix jsonschema failing example
  • Loading branch information
danielaparker authored May 21, 2024
2 parents 0be3e70 + b368724 commit e612cc4
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 e612cc4

Please sign in to comment.