Przeglądaj źródła

jsoncpp: Drop doxygen comments that cause Clang warnings

Even though we disable warnings when building jsoncpp itself, including
its headers from other CMake sources may still cause warnings.  Update
the code to remove these -Wdocumentation warnings.
Brad King 11 lat temu
rodzic
commit
a02fbec5f3

+ 0 - 2
Utilities/cmjsoncpp/include/json/reader.h

@@ -106,9 +106,7 @@ public:
    *         the parsed document. An empty string is returned if no error
    *         the parsed document. An empty string is returned if no error
    * occurred
    * occurred
    *         during parsing.
    *         during parsing.
-   * \deprecated Use getFormattedErrorMessages() instead (typo fix).
    */
    */
-  JSONCPP_DEPRECATED("Use getFormattedErrorMessages instead")
   std::string getFormatedErrorMessages() const;
   std::string getFormatedErrorMessages() const;
 
 
   /** \brief Returns a user friendly string that list errors in the parsed
   /** \brief Returns a user friendly string that list errors in the parsed

+ 0 - 1
Utilities/cmjsoncpp/include/json/writer.h

@@ -150,7 +150,6 @@ private:
  * If the Value have comments then they are outputed according to their
  * If the Value have comments then they are outputed according to their
  #CommentPlacement.
  #CommentPlacement.
  *
  *
- * \param indentation Each level will be indented by this amount extra.
  * \sa Reader, Value, Value::setComment()
  * \sa Reader, Value, Value::setComment()
  */
  */
 class JSON_API StyledStreamWriter {
 class JSON_API StyledStreamWriter {