diff options
Diffstat (limited to '3rdparty/rapidjson/example/tutorial/tutorial.cpp')
-rw-r--r-- | 3rdparty/rapidjson/example/tutorial/tutorial.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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()); |