diff --git a/include/cantera/base/stringUtils.h b/include/cantera/base/stringUtils.h index 7daafef25..2f98df716 100644 --- a/include/cantera/base/stringUtils.h +++ b/include/cantera/base/stringUtils.h @@ -165,6 +165,7 @@ std::string parseSpeciesName(const std::string& nameStr, std::string& phaseName) /*! * @param s Input string to be line wrapped * @param len Length at which to wrap. The default is 70. + * @deprecated Unused. To be removed after Cantera 2.3. */ std::string wrapString(const std::string& s, const int len=70); diff --git a/src/base/stringUtils.cpp b/src/base/stringUtils.cpp index eadb481b3..37b822930 100644 --- a/src/base/stringUtils.cpp +++ b/src/base/stringUtils.cpp @@ -209,6 +209,7 @@ doublereal fpValueCheck(const std::string& val) std::string wrapString(const std::string& s, const int len) { + warn_deprecated("wrapString", "Unused. To be removed after Cantera 2.3."); int count=0; std::string r; for (size_t n = 0; n < s.size(); n++) {