Test that char* are copied

This commit is contained in:
Benoit Blanchon
2014-09-28 21:35:08 +02:00
parent e417c137fc
commit d3cf568d07
2 changed files with 10 additions and 2 deletions

View File

@ -47,8 +47,7 @@ void JsonValue::operator=(JsonValue const& value)
return;
}
JsonNodeType nodeType = value._node ? value._node->type : JSON_UNDEFINED;
JsonNodeType nodeType = value._node ? value._node->type : JSON_UNDEFINED;
switch (nodeType)
{