File tree 5 files changed +12
-13
lines changed
5 files changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -72,11 +72,11 @@ project(jsoncpp
72
72
# 2. ./include/json/version.h
73
73
# 3. ./CMakeLists.txt
74
74
# IMPORTANT: also update the PROJECT_SOVERSION!!
75
- VERSION 1.9.4 # <major>[.<minor>[.<patch>[.<tweak>]]]
75
+ VERSION 1.9.5 # <major>[.<minor>[.<patch>[.<tweak>]]]
76
76
LANGUAGES CXX)
77
77
78
78
message (STATUS "JsonCpp Version: ${PROJECT_VERSION_MAJOR} .${PROJECT_VERSION_MINOR} .${PROJECT_VERSION_PATCH} " )
79
- set (PROJECT_SOVERSION 24 )
79
+ set (PROJECT_SOVERSION 25 )
80
80
81
81
include (${CMAKE_CURRENT_SOURCE_DIR} /include /PreventInSourceBuilds.cmake)
82
82
include (${CMAKE_CURRENT_SOURCE_DIR} /include /PreventInBuildInstalls.cmake)
Original file line number Diff line number Diff line change @@ -33,8 +33,7 @@ namespace Json {
33
33
* \deprecated Use CharReader and CharReaderBuilder.
34
34
*/
35
35
36
- class JSONCPP_DEPRECATED (
37
- " Use CharReader and CharReaderBuilder instead." ) JSON_API Reader {
36
+ class JSON_API Reader {
38
37
public:
39
38
using Char = char ;
40
39
using Location = const Char*;
@@ -51,13 +50,13 @@ class JSONCPP_DEPRECATED(
51
50
};
52
51
53
52
/* * \brief Constructs a Reader allowing all features for parsing.
53
+ * \deprecated Use CharReader and CharReaderBuilder.
54
54
*/
55
- JSONCPP_DEPRECATED (" Use CharReader and CharReaderBuilder instead" )
56
55
Reader ();
57
56
58
57
/* * \brief Constructs a Reader allowing the specified feature set for parsing.
58
+ * \deprecated Use CharReader and CharReaderBuilder.
59
59
*/
60
- JSONCPP_DEPRECATED (" Use CharReader and CharReaderBuilder instead" )
61
60
Reader (const Features& features);
62
61
63
62
/* * \brief Read a Value from a <a HREF="http://www.json.org">JSON</a>
Original file line number Diff line number Diff line change 9
9
// 3. /CMakeLists.txt
10
10
// IMPORTANT: also update the SOVERSION!!
11
11
12
- #define JSONCPP_VERSION_STRING "1.9.4 "
12
+ #define JSONCPP_VERSION_STRING "1.9.5 "
13
13
#define JSONCPP_VERSION_MAJOR 1
14
14
#define JSONCPP_VERSION_MINOR 9
15
- #define JSONCPP_VERSION_PATCH 4
15
+ #define JSONCPP_VERSION_PATCH 5
16
16
#define JSONCPP_VERSION_QUALIFIER
17
17
#define JSONCPP_VERSION_HEXA \
18
18
((JSONCPP_VERSION_MAJOR << 24) | (JSONCPP_VERSION_MINOR << 16) | \
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ class JSON_API StreamWriterBuilder : public StreamWriter::Factory {
147
147
/* * \brief Abstract class for writers.
148
148
* \deprecated Use StreamWriter. (And really, this is an implementation detail.)
149
149
*/
150
- class JSONCPP_DEPRECATED ( " Use StreamWriter instead " ) JSON_API Writer {
150
+ class JSON_API Writer {
151
151
public:
152
152
virtual ~Writer ();
153
153
@@ -167,7 +167,7 @@ class JSONCPP_DEPRECATED("Use StreamWriter instead") JSON_API Writer {
167
167
#pragma warning(push)
168
168
#pragma warning(disable : 4996) // Deriving from deprecated class
169
169
#endif
170
- class JSONCPP_DEPRECATED ( " Use StreamWriterBuilder instead " ) JSON_API FastWriter
170
+ class JSON_API FastWriter
171
171
: public Writer {
172
172
public:
173
173
FastWriter ();
@@ -227,7 +227,7 @@ class JSONCPP_DEPRECATED("Use StreamWriterBuilder instead") JSON_API FastWriter
227
227
#pragma warning(push)
228
228
#pragma warning(disable : 4996) // Deriving from deprecated class
229
229
#endif
230
- class JSONCPP_DEPRECATED ( " Use StreamWriterBuilder instead " ) JSON_API
230
+ class JSON_API
231
231
StyledWriter : public Writer {
232
232
public:
233
233
StyledWriter ();
@@ -296,7 +296,7 @@ class JSONCPP_DEPRECATED("Use StreamWriterBuilder instead") JSON_API
296
296
#pragma warning(push)
297
297
#pragma warning(disable : 4996) // Deriving from deprecated class
298
298
#endif
299
- class JSONCPP_DEPRECATED ( " Use StreamWriterBuilder instead " ) JSON_API
299
+ class JSON_API
300
300
StyledStreamWriter {
301
301
public:
302
302
/* *
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ jsoncpp_lib = library(
50
50
' src/lib_json/json_value.cpp' ,
51
51
' src/lib_json/json_writer.cpp' ,
52
52
]),
53
- soversion : 24 ,
53
+ soversion : 25 ,
54
54
install : true ,
55
55
include_directories : jsoncpp_include_directories,
56
56
cpp_args : dll_export_flag)
You can’t perform that action at this time.
0 commit comments