From 472d29f57b1453802ac6ab59eedcbd421fac0264 Mon Sep 17 00:00:00 2001 From: Christopher Dunn Date: Mon, 26 Jan 2015 11:04:03 -0600 Subject: [PATCH] fix doc --- doc/jsoncpp.dox | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/jsoncpp.dox b/doc/jsoncpp.dox index 2dcdbff..fe06d50 100644 --- a/doc/jsoncpp.dox +++ b/doc/jsoncpp.dox @@ -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 writer(