const stuff

This commit is contained in:
Christopher Dunn
2015-01-23 08:38:32 -06:00
parent beb6f35c63
commit 9243d602fe
3 changed files with 17 additions and 8 deletions

View File

@@ -76,12 +76,12 @@ public:
void setIndentation(std::string indentation);
/// Do not take ownership of sout, but maintain a reference.
StreamWriter* newStreamWriter(std::ostream* sout);
StreamWriter* newStreamWriter(std::ostream* sout) const;
};
};
/// \brief Write into stringstream, then return string, for convenience.
std::string writeString(Value const& root, StreamWriterBuilder const& builder);
std::string writeString(Value const& root, StreamWriter::Builder const& builder);
/** \brief Abstract class for writers.