Get trim() out of core where it is not needed.
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user