From 3a0c4fcc82d25d189b8107e07462effbab9f8e1b Mon Sep 17 00:00:00 2001 From: Aaron Jacobs Date: Tue, 1 Jul 2014 09:20:48 +1000 Subject: [PATCH] Ran clang-format again. --- include/json/config.h | 2 +- include/json/value.h | 2 +- src/lib_json/json_value.cpp | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/include/json/config.h b/include/json/config.h index f0cea44..afd3a45 100644 --- a/include/json/config.h +++ b/include/json/config.h @@ -102,7 +102,7 @@ typedef unsigned __int64 UInt64; #else // if defined(_MSC_VER) // Other platforms, use long long typedef long long int Int64; typedef unsigned long long int UInt64; -#endif // if defined(_MSC_VER) +#endif // if defined(_MSC_VER) typedef Int64 LargestInt; typedef UInt64 LargestUInt; #define JSON_HAS_INT64 diff --git a/include/json/value.h b/include/json/value.h index 09db289..92526a4 100644 --- a/include/json/value.h +++ b/include/json/value.h @@ -49,7 +49,7 @@ enum CommentPlacement { commentBefore = 0, ///< a comment placed on the line before a value commentAfterOnSameLine, ///< a comment just after a value on the same line commentAfter, ///< a comment on the line after a value (only make sense for - ///root value) + /// root value) numberOfCommentPlacement }; diff --git a/src/lib_json/json_value.cpp b/src/lib_json/json_value.cpp index 6f952f6..29380e1 100644 --- a/src/lib_json/json_value.cpp +++ b/src/lib_json/json_value.cpp @@ -83,8 +83,9 @@ static inline char *duplicateStringValue(const char *value, length = Value::maxInt - 1; char *newString = static_cast(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;