File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,7 @@ namespace Json {
3333 * \deprecated Use CharReader and CharReaderBuilder.
3434 */
3535
36- class JSONCPP_DEPRECATED (
37- " Use CharReader and CharReaderBuilder instead." ) JSON_API Reader {
36+ class JSON_API Reader {
3837public:
3938 using Char = char ;
4039 using Location = const Char*;
@@ -51,13 +50,13 @@ class JSONCPP_DEPRECATED(
5150 };
5251
5352 /* * \brief Constructs a Reader allowing all features for parsing.
53+ * \deprecated Use CharReader and CharReaderBuilder.
5454 */
55- JSONCPP_DEPRECATED (" Use CharReader and CharReaderBuilder instead" )
5655 Reader ();
5756
5857 /* * \brief Constructs a Reader allowing the specified feature set for parsing.
58+ * \deprecated Use CharReader and CharReaderBuilder.
5959 */
60- JSONCPP_DEPRECATED (" Use CharReader and CharReaderBuilder instead" )
6160 Reader (const Features& features);
6261
6362 /* * \brief Read a Value from a <a HREF="http://www.json.org">JSON</a>
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ class JSON_API StreamWriterBuilder : public StreamWriter::Factory {
147147/* * \brief Abstract class for writers.
148148 * \deprecated Use StreamWriter. (And really, this is an implementation detail.)
149149 */
150- class JSONCPP_DEPRECATED ( " Use StreamWriter instead " ) JSON_API Writer {
150+ class JSON_API Writer {
151151public:
152152 virtual ~Writer ();
153153
@@ -167,7 +167,7 @@ class JSONCPP_DEPRECATED("Use StreamWriter instead") JSON_API Writer {
167167#pragma warning(push)
168168#pragma warning(disable : 4996) // Deriving from deprecated class
169169#endif
170- class JSONCPP_DEPRECATED ( " Use StreamWriterBuilder instead " ) JSON_API FastWriter
170+ class JSON_API FastWriter
171171 : public Writer {
172172public:
173173 FastWriter ();
@@ -227,7 +227,7 @@ class JSONCPP_DEPRECATED("Use StreamWriterBuilder instead") JSON_API FastWriter
227227#pragma warning(push)
228228#pragma warning(disable : 4996) // Deriving from deprecated class
229229#endif
230- class JSONCPP_DEPRECATED ( " Use StreamWriterBuilder instead " ) JSON_API
230+ class JSON_API
231231 StyledWriter : public Writer {
232232public:
233233 StyledWriter ();
@@ -296,7 +296,7 @@ class JSONCPP_DEPRECATED("Use StreamWriterBuilder instead") JSON_API
296296#pragma warning(push)
297297#pragma warning(disable : 4996) // Deriving from deprecated class
298298#endif
299- class JSONCPP_DEPRECATED ( " Use StreamWriterBuilder instead " ) JSON_API
299+ class JSON_API
300300 StyledStreamWriter {
301301public:
302302 /* *
You can’t perform that action at this time.
0 commit comments