Remove CStr::ReverseFind

It was only used once. In this case a normal `std::string::find` can be
used.
This commit is contained in:
phosit
2026-08-24 13:34:37 +02:00
parent 89c7aa47ce
commit d37db2ba07
3 changed files with 1 additions and 21 deletions
-10
View File
@@ -264,16 +264,6 @@ double CStr::ToDouble() const
return ret;
}
long CStr::ReverseFind(const CStr& str) const
{
size_t pos = rfind(str, length() );
if (pos != npos)
return static_cast<long>(pos);
return -1;
}
// Lowercase and uppercase
CStr CStr::LowerCase() const
{