Skip to content

Commit 586e7a8

Browse files
committed
No need to suppress warnings for this particular class
See #669
1 parent 614671d commit 586e7a8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

include/json/writer.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,6 @@ class JSONCPP_DEPRECATED("Use StreamWriterBuilder instead") JSON_API StyledWrite
275275
* \sa Reader, Value, Value::setComment()
276276
* \deprecated Use StreamWriterBuilder.
277277
*/
278-
#pragma warning(push)
279-
#pragma warning(disable:4996) // Deriving from deprecated class
280278
class JSONCPP_DEPRECATED("Use StreamWriterBuilder instead") JSON_API StyledStreamWriter {
281279
public:
282280
/**
@@ -318,7 +316,6 @@ class JSONCPP_DEPRECATED("Use StreamWriterBuilder instead") JSON_API StyledStrea
318316
bool addChildValues_ : 1;
319317
bool indented_ : 1;
320318
};
321-
#pragma warning(pop)
322319

323320
#if defined(JSON_HAS_INT64)
324321
JSONCPP_STRING JSON_API valueToString(Int value);

0 commit comments

Comments
 (0)