mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-10-22 08:20:47 +08:00
apply the C++11 style change in .clang-format
This commit is contained in:

committed by
Hans Johnson

parent
756a08fbbd
commit
2b593a9da8
@@ -166,7 +166,8 @@ void TestResult::printFailure(bool printTestName) const {
|
||||
}
|
||||
}
|
||||
|
||||
Json::String TestResult::indentText(const Json::String& text, const Json::String& indent) {
|
||||
Json::String TestResult::indentText(const Json::String& text,
|
||||
const Json::String& indent) {
|
||||
Json::String reindented;
|
||||
Json::String::size_type lastIndex = 0;
|
||||
while (lastIndex < text.size()) {
|
||||
@@ -405,7 +406,9 @@ void Runner::printUsage(const char* appName) {
|
||||
// Assertion functions
|
||||
// //////////////////////////////////////////////////////////////////
|
||||
|
||||
Json::String ToJsonString(const char* toConvert) { return Json::String(toConvert); }
|
||||
Json::String ToJsonString(const char* toConvert) {
|
||||
return Json::String(toConvert);
|
||||
}
|
||||
|
||||
Json::String ToJsonString(Json::String in) { return in; }
|
||||
|
||||
|
Reference in New Issue
Block a user