File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 76
76
namespace Json {
77
77
78
78
#if __cplusplus >= 201103L || (defined(_CPPLIB_VER) && _CPPLIB_VER >= 520)
79
- typedef std::unique_ptr<StreamWriter> StreamWriterPtr ;
79
+ using StreamWriterPtr = std::unique_ptr<StreamWriter>;
80
80
#else
81
- typedef std::auto_ptr<StreamWriter> StreamWriterPtr ;
81
+ using StreamWriterPtr = std::auto_ptr<StreamWriter>;
82
82
#endif
83
83
84
84
static bool containsControlCharacter (const char * str) {
@@ -861,7 +861,7 @@ struct BuiltStyledStreamWriter : public StreamWriter
861
861
void writeCommentAfterValueOnSameLine (Value const & root);
862
862
static bool hasCommentForValue (const Value& value);
863
863
864
- typedef std::vector<JSONCPP_STRING> ChildValues ;
864
+ using ChildValues = std::vector<JSONCPP_STRING>;
865
865
866
866
ChildValues childValues_;
867
867
JSONCPP_STRING indentString_;
You can’t perform that action at this time.
0 commit comments