Removed StringUtils::notEmpty (#4208)

This commit is contained in:
Bilka 2020-01-09 17:06:39 +01:00 committed by Alayan-stk-2
parent 08d1a2df4a
commit 8ce0def43d
2 changed files with 0 additions and 19 deletions

View File

@ -121,24 +121,6 @@ namespace StringUtils
return filename;
} // getExtension
//-------------------------------------------------------------------------
/** Checks if the input string is not empty. ( = has characters different
* from a space).
*/
bool notEmpty(const irr::core::stringw& input)
{
const int size = input.size();
int nonEmptyChars = 0;
for (int n=0; n<size; n++)
{
if (input[n] != L' ')
{
nonEmptyChars++;
}
}
return (nonEmptyChars > 0);
} // getExtension
//-------------------------------------------------------------------------
/** Returns a string converted to upper case.
*/

View File

@ -47,7 +47,6 @@ namespace StringUtils
std::string removeExtension(const std::string& filename);
std::string getExtension(const std::string& filename);
bool notEmpty(const irr::core::stringw& input);
std::string ticksTimeToString(int time);
std::string timeToString(float time, unsigned int precision=2,
bool display_minutes_if_zero = true, bool display_hours = false);