Deprecate wrapString
This commit is contained in:
parent
7a24dc3817
commit
388dbafb39
2 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue