Get trim() out of core where it is not needed.
This commit is contained in:
parent
53e5f94b99
commit
a7409850d6
3 changed files with 20 additions and 28 deletions
|
@ -256,14 +256,6 @@ public:
|
|||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Trim whitespace from the start and end of a string
|
||||
*
|
||||
* @param s String to trim
|
||||
* @return Trimmed string
|
||||
*/
|
||||
static std::string trim(const std::string &s);
|
||||
|
||||
/**
|
||||
* Variant of snprintf that is portable and throws an exception
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue