File tree Expand file tree Collapse file tree 5 files changed +12
-13
lines changed Expand file tree Collapse file tree 5 files changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -72,11 +72,11 @@ project(jsoncpp
7272 # 2. ./include/json/version.h
7373 # 3. ./CMakeLists.txt
7474 # IMPORTANT: also update the PROJECT_SOVERSION!!
75- VERSION 1.9.4 # <major>[.<minor>[.<patch>[.<tweak>]]]
75+ VERSION 1.9.5 # <major>[.<minor>[.<patch>[.<tweak>]]]
7676 LANGUAGES CXX)
7777
7878message (STATUS "JsonCpp Version: ${PROJECT_VERSION_MAJOR} .${PROJECT_VERSION_MINOR} .${PROJECT_VERSION_PATCH} " )
79- set (PROJECT_SOVERSION 24 )
79+ set (PROJECT_SOVERSION 25 )
8080
8181include (${CMAKE_CURRENT_SOURCE_DIR} /include /PreventInSourceBuilds.cmake)
8282include (${CMAKE_CURRENT_SOURCE_DIR} /include /PreventInBuildInstalls.cmake)
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 99// 3. /CMakeLists.txt
1010// IMPORTANT: also update the SOVERSION!!
1111
12- #define JSONCPP_VERSION_STRING "1.9.4 "
12+ #define JSONCPP_VERSION_STRING "1.9.5 "
1313#define JSONCPP_VERSION_MAJOR 1
1414#define JSONCPP_VERSION_MINOR 9
15- #define JSONCPP_VERSION_PATCH 4
15+ #define JSONCPP_VERSION_PATCH 5
1616#define JSONCPP_VERSION_QUALIFIER
1717#define JSONCPP_VERSION_HEXA \
1818 ((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 {
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 /* *
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ jsoncpp_lib = library(
5050 ' src/lib_json/json_value.cpp' ,
5151 ' src/lib_json/json_writer.cpp' ,
5252 ]),
53- soversion : 24 ,
53+ soversion : 25 ,
5454 install : true ,
5555 include_directories : jsoncpp_include_directories,
5656 cpp_args : dll_export_flag)
You can’t perform that action at this time.
0 commit comments