Ran clang-format again.

This commit is contained in:
Aaron Jacobs
2014-07-01 09:20:48 +10:00
parent 445328ace6
commit 3a0c4fcc82
3 changed files with 5 additions and 4 deletions

View File

@@ -83,8 +83,9 @@ static inline char *duplicateStringValue(const char *value,
length = Value::maxInt - 1;
char *newString = static_cast<char *>(malloc(length + 1));
JSON_ASSERT_MESSAGE(newString != 0, "in Json::Value::duplicateStringValue(): "
"Failed to allocate string value buffer");
JSON_ASSERT_MESSAGE(newString != 0,
"in Json::Value::duplicateStringValue(): "
"Failed to allocate string value buffer");
memcpy(newString, value, length);
newString[length] = 0;
return newString;