From ebd4df76ab74a048006d455a30c1ff0d149cd4db Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Fri, 28 Jun 2013 21:24:49 +0000 Subject: [PATCH] Fix some Doxygen warnings --- include/cantera/base/ctml.h | 2 +- include/cantera/thermo/PhaseCombo_Interaction.h | 2 +- src/base/application.h | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/cantera/base/ctml.h b/include/cantera/base/ctml.h index 5581c37ab..f0293d217 100644 --- a/include/cantera/base/ctml.h +++ b/include/cantera/base/ctml.h @@ -580,7 +580,7 @@ bool getOptionalFloat(const Cantera::XML_Node& parent, const std::string& name, * @param node Current XML node to get the values from * @param v Output map of the results. * @param convert Turn on conversion to SI units - * @param deprecated Unused. To be removed in Cantera 2.2. + * @deprecated Unused. To be removed in Cantera 2.2. */ void getFloats(const Cantera::XML_Node& node, std::map& v, const bool convert=true); diff --git a/include/cantera/thermo/PhaseCombo_Interaction.h b/include/cantera/thermo/PhaseCombo_Interaction.h index cd43cdcdc..5b6696566 100644 --- a/include/cantera/thermo/PhaseCombo_Interaction.h +++ b/include/cantera/thermo/PhaseCombo_Interaction.h @@ -368,7 +368,7 @@ public: * @param testProb Hard-coded value. Only the value of 1 is used. It's * for a LiKCl system -> test to predict the eutectic and * liquidus correctly. - * @deprecatedu unimplemented + * @deprecated unimplemented */ PhaseCombo_Interaction(int testProb); diff --git a/src/base/application.h b/src/base/application.h index 2d9be1db7..b8d10b785 100644 --- a/src/base/application.h +++ b/src/base/application.h @@ -447,6 +447,8 @@ public: //! invocation of the application. void warn_deprecated(const std::string& method, const std::string& extra=""); + //! Globally disable printing of deprecation warnings. Used primarily to + //! prevent certain tests from failing. void suppress_deprecation_warnings() { m_suppress_deprecation_warnings = true; }