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

committed by
Hans Johnson

parent
756a08fbbd
commit
2b593a9da8
@@ -189,9 +189,9 @@ private:
|
||||
void writeValue(const Value& value);
|
||||
|
||||
String document_;
|
||||
bool yamlCompatibilityEnabled_{ false };
|
||||
bool dropNullPlaceholders_{ false };
|
||||
bool omitEndingLineFeed_{ false };
|
||||
bool yamlCompatibilityEnabled_{false};
|
||||
bool dropNullPlaceholders_{false};
|
||||
bool omitEndingLineFeed_{false};
|
||||
};
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(pop)
|
||||
@@ -257,9 +257,9 @@ private:
|
||||
ChildValues childValues_;
|
||||
String document_;
|
||||
String indentString_;
|
||||
unsigned int rightMargin_{ 74 };
|
||||
unsigned int indentSize_{ 3 };
|
||||
bool addChildValues_{ false };
|
||||
unsigned int rightMargin_{74};
|
||||
unsigned int indentSize_{3};
|
||||
bool addChildValues_{false};
|
||||
};
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(pop)
|
||||
@@ -331,7 +331,7 @@ private:
|
||||
ChildValues childValues_;
|
||||
OStream* document_;
|
||||
String indentString_;
|
||||
unsigned int rightMargin_{ 74 };
|
||||
unsigned int rightMargin_{74};
|
||||
String indentation_;
|
||||
bool addChildValues_ : 1;
|
||||
bool indented_ : 1;
|
||||
|
Reference in New Issue
Block a user