This commit is contained in:
Christopher Dunn 2015-01-26 11:04:03 -06:00
parent 6065a1c142
commit 472d29f57b

View File

@ -81,8 +81,8 @@ root["indent"]["use_space"] = getCurrentIndentUseSpace();
// To write into a steam with minimal memory overhead,
// create a Builder for a StreamWriter.
Json::StreamWriter::Builder builder;
builder.withIndentation(" "); // or whatever you like
Json::StreamWriterBuilder builder;
builder.indentation_ = " "; // or whatever you like
// Then build a StreamWriter.
std::shared_ptr<Json::StreamWriter> writer(