Fix static code analysis issue.
This commit is contained in:
@@ -1644,7 +1644,7 @@ TEST_CASE("CerealEmptyArrayWrapperTest", "[SerializationTest]")
|
||||
jsonT.mem = new int[5];
|
||||
jsonT.len = 5;
|
||||
|
||||
SerializeObjectAll(t, xmlT, binaryT, jsonT);
|
||||
SerializeObjectAll(t, xmlT, jsonT, binaryT);
|
||||
|
||||
// Ensure that all the results are correct.
|
||||
REQUIRE(xmlT.mem == (int*) NULL);
|
||||
|
||||
Reference in New Issue
Block a user