mirror of
https://github.com/Icinga/icinga2.git
synced 2026-06-08 00:02:49 -04:00
parent
88fa67c108
commit
79f5618eba
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue