From b368724e343c49bf28add60305dc89c7ef73a1e8 Mon Sep 17 00:00:00 2001 From: balleddog Date: Tue, 21 May 2024 17:50:36 +0800 Subject: [PATCH] Fix jsonschema failing example --- doc/ref/jsonschema/jsonschema.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/ref/jsonschema/jsonschema.md b/doc/ref/jsonschema/jsonschema.md index 1e4e4e2d3..f5405ec5c 100644 --- a/doc/ref/jsonschema/jsonschema.md +++ b/doc/ref/jsonschema/jsonschema.md @@ -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;