diff options
author | 2016-08-06 14:23:30 +0200 | |
---|---|---|
committer | 2016-08-06 14:23:30 +0200 | |
commit | a8ebc114372476314a3817daa010b71f85d329e1 (patch) | |
tree | 22082431d0e622cae8fda7dfa04da36bf31879be /3rdparty/rapidjson/test/unittest/schematest.cpp | |
parent | 3917850b6197950e5671f4d3b9cb0b9c921b798d (diff) |
update rapidjson (nw)
Diffstat (limited to '3rdparty/rapidjson/test/unittest/schematest.cpp')
-rw-r--r-- | 3rdparty/rapidjson/test/unittest/schematest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdparty/rapidjson/test/unittest/schematest.cpp b/3rdparty/rapidjson/test/unittest/schematest.cpp index d1027ad51c5..d75b1e593e0 100644 --- a/3rdparty/rapidjson/test/unittest/schematest.cpp +++ b/3rdparty/rapidjson/test/unittest/schematest.cpp @@ -111,7 +111,7 @@ TEST(SchemaValidator, Hasher) { EXPECT_FALSE(d.HasParseError());\ EXPECT_TRUE(expected == d.Accept(validator));\ EXPECT_TRUE(expected == validator.IsValid());\ - if (expected && !validator.IsValid()) {\ + if ((expected) && !validator.IsValid()) {\ StringBuffer sb;\ validator.GetInvalidSchemaPointer().StringifyUriFragment(sb);\ printf("Invalid schema: %s\n", sb.GetString());\ |