Use std::string::find() in String::Contains().

Refs #5355
This commit is contained in:
Michael Friedrich 2013-12-17 18:18:13 +01:00
parent 88fa67c108
commit 79f5618eba
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ void String::Trim(void)
bool String::Contains(const String& str) const
{
return boost::algorithm::contains(m_Data, str);
return (m_Data.find(str) != std::string::npos);
}
void String::swap(String& str)