Bladeren bron

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 jaren geleden
bovenliggende
commit
a02fbec5f3
2 gewijzigde bestanden met toevoegingen van 0 en 3 verwijderingen
  1. 0 2
      Utilities/cmjsoncpp/include/json/reader.h
  2. 0 1
      Utilities/cmjsoncpp/include/json/writer.h

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

@@ -106,9 +106,7 @@ public:
    *         the parsed document. An empty string is returned if no error
    * occurred
    *         during parsing.
-   * \deprecated Use getFormattedErrorMessages() instead (typo fix).
    */
-  JSONCPP_DEPRECATED("Use getFormattedErrorMessages instead")
   std::string getFormatedErrorMessages() const;
 
   /** \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
  #CommentPlacement.
  *
- * \param indentation Each level will be indented by this amount extra.
  * \sa Reader, Value, Value::setComment()
  */
 class JSON_API StyledStreamWriter {