From f6630310ebd116a9230976d4a47b894946f5aa6f Mon Sep 17 00:00:00 2001 From: Miodrag Milanović Date: Fri, 20 Jan 2023 21:44:28 +0100 Subject: Update rapidjson to 012be8528783cdbf4b7a9e64f78bd8f056b97e24 (#10842) Co-authored-by: Milo Yip --- 3rdparty/rapidjson/example/tutorial/tutorial.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '3rdparty/rapidjson/example/tutorial/tutorial.cpp') diff --git a/3rdparty/rapidjson/example/tutorial/tutorial.cpp b/3rdparty/rapidjson/example/tutorial/tutorial.cpp index c8bfcc14c18..d6021c66891 100644 --- a/3rdparty/rapidjson/example/tutorial/tutorial.cpp +++ b/3rdparty/rapidjson/example/tutorial/tutorial.cpp @@ -57,7 +57,7 @@ int main(int, char*[]) { printf("n = %s\n", document["n"].IsNull() ? "null" : "?"); assert(document["i"].IsNumber()); // Number is a JSON type, but C++ needs more specific type. - assert(document["i"].IsInt()); // In this case, IsUint()/IsInt64()/IsUInt64() also return true. + assert(document["i"].IsInt()); // In this case, IsUint()/IsInt64()/IsUint64() also return true. printf("i = %d\n", document["i"].GetInt()); // Alternative (int)document["i"] assert(document["pi"].IsNumber()); -- cgit v1.2.3-70-g09d2