mirror of
https://github.com/modelec/TCPSocketServer.git
synced 2026-01-19 00:47:36 +01:00
change function definition
This commit is contained in:
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user