gcc-4.6 (Travis CI) does not support

This commit is contained in:
Christopher Dunn
2015-01-26 11:17:42 -06:00
parent 999f5912f0
commit 7eca3b4e88
2 changed files with 8 additions and 2 deletions

View File

@@ -92,14 +92,16 @@ public:
/** \brief How to write comments.
* Default: All
*/
StreamWriter::CommentStyle cs_ = StreamWriter::CommentStyle::All;
StreamWriter::CommentStyle cs_;
/** \brief Write in human-friendly style.
If "", then skip all indentation and newlines.
In that case, you probably want CommentStyle::None also.
Default: "\t"
*/
std::string indentation_ = "\t";
std::string indentation_;
StreamWriterBuilder();
/// Do not take ownership of sout, but maintain a reference.
StreamWriter* newStreamWriter(std::ostream* sout) const;