diff options
author | Brad King <brad.king@kitware.com> | 2017-08-28 11:43:41 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-08-30 10:17:09 -0400 |
commit | 0a0f71066f5206898ab8da789c04b17b664af069 (patch) | |
tree | 895b08855678b8f8ba3806b9a6286d7603da14a3 /Utilities/cmjsoncpp/include/json/value.h | |
parent | e09819557f5bf29f8414d5165e2c3e8ad8dee2d1 (diff) | |
download | cmake-0a0f71066f5206898ab8da789c04b17b664af069.tar.gz |
jsoncpp: Drop deprecation markup
Even though we disable warnings when building jsoncpp itself, including
its headers from other CMake sources may still cause warnings.
Additional work will be needed to port CMake to newer jsoncpp interfaces
while still supporting jsoncpp 1.0.0. For now, just suppress the
markup.
Diffstat (limited to 'Utilities/cmjsoncpp/include/json/value.h')
-rw-r--r-- | Utilities/cmjsoncpp/include/json/value.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Utilities/cmjsoncpp/include/json/value.h b/Utilities/cmjsoncpp/include/json/value.h index ebca175db6..2ee227b52c 100644 --- a/Utilities/cmjsoncpp/include/json/value.h +++ b/Utilities/cmjsoncpp/include/json/value.h @@ -242,7 +242,7 @@ private: bool operator<(CZString const& other) const; bool operator==(CZString const& other) const; ArrayIndex index() const; - //const char* c_str() const; ///< \deprecated + //const char* c_str() const; ///< deprecated char const* data() const; unsigned length() const; bool isStaticString() const; @@ -517,12 +517,12 @@ Json::Value obj_value(Json::objectValue); // {} /// \return the removed Value, or null. /// \pre type() is objectValue or nullValue /// \post type() is unchanged - /// \deprecated + /// deprecated JSONCPP_DEPRECATED("") Value removeMember(const char* key); /// Same as removeMember(const char*) /// \param key may contain embedded nulls. - /// \deprecated + /// deprecated JSONCPP_DEPRECATED("") Value removeMember(const JSONCPP_STRING& key); /// Same as removeMember(const char* begin, const char* end, Value* removed), @@ -570,7 +570,7 @@ Json::Value obj_value(Json::objectValue); // {} // EnumValues enumValues() const; //# endif - /// \deprecated Always pass len. + /// deprecated Always pass len. JSONCPP_DEPRECATED("Use setComment(JSONCPP_STRING const&) instead.") void setComment(const char* comment, CommentPlacement placement); /// Comments must be //... or /* ... */ @@ -734,7 +734,7 @@ public: /// Return the member name of the referenced Value. "" if it is not an /// objectValue. - /// \deprecated This cannot be used for UTF-8 strings, since there can be embedded nulls. + /// deprecated This cannot be used for UTF-8 strings, since there can be embedded nulls. JSONCPP_DEPRECATED("Use `key = name();` instead.") char const* memberName() const; /// Return the member name of the referenced Value, or NULL if it is not an |