We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dea6f8d commit 1e21e63Copy full SHA for 1e21e63
1 file changed
src/lib_json/json_writer.cpp
@@ -944,11 +944,17 @@ class StreamWriterBuilder {
944
CommentStyle cs_;
945
std::string indentation_;
946
public:
947
+ StreamWriterBuilder();
948
virtual ~StreamWriterBuilder();
949
virtual void setCommentStyle(CommentStyle cs);
950
virtual void setIndentation(std::string indentation);
951
virtual StreamWriter* newStreamWriter(std::ostream* sout) const;
952
};
953
+StreamWriterBuilder::StreamWriterBuilder()
954
+ : cs_(CommentStyle::All)
955
+ , indentation_("\t")
956
+{
957
+}
958
StreamWriterBuilder::~StreamWriterBuilder()
959
{
960
}
0 commit comments