change function definition

This commit is contained in:
ackimixs
2024-04-17 10:53:32 +02:00
parent d307e46e68
commit 829fbedb72
3 changed files with 6 additions and 6 deletions

View File

@@ -5,7 +5,7 @@ bool TCPUtils::startWith(const std::string& str, const std::string& start)
return str.rfind(start, 0) == 0;
}
bool TCPUtils::endsWith(const std::string& str, const std::string& end)
bool TCPUtils::endWith(const std::string& str, const std::string& end)
{
if (str.length() >= end.length())
{