Update writer.h

fix typos
This commit is contained in:
Motti Lanzkron 2017-09-11 16:14:52 +03:00 committed by Christopher Dunn
parent 66d4573206
commit 9bb984a594

View File

@ -156,8 +156,10 @@ public:
* \sa Reader, Value
* \deprecated Use StreamWriterBuilder.
*/
#pragma warning(push)
#pragma warning(disable:4996) // Deriving from deprecated class
class JSONCPP_DEPRECATED("Use StreamWriterBuilder instead") JSON_API FastWriter : public Writer {
#pragma warning(pop)
public:
FastWriter();
~FastWriter() JSONCPP_OVERRIDE {}
@ -209,7 +211,10 @@ private:
* \sa Reader, Value, Value::setComment()
* \deprecated Use StreamWriterBuilder.
*/
#pragma warning(push)
#pragma warning(disable:4996) // Deriving from deprecated class
class JSONCPP_DEPRECATED("Use StreamWriterBuilder instead") JSON_API StyledWriter : public Writer {
#pragma warning(pop)
public:
StyledWriter();
~StyledWriter() JSONCPP_OVERRIDE {}