From 9bb984a59444c26a3509b8de9c5c5d4dec7985b3 Mon Sep 17 00:00:00 2001 From: Motti Lanzkron Date: Mon, 11 Sep 2017 16:14:52 +0300 Subject: [PATCH] Update writer.h fix typos --- include/json/writer.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/json/writer.h b/include/json/writer.h index f258cbf..87365ef 100644 --- a/include/json/writer.h +++ b/include/json/writer.h @@ -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 {}