mirror of https://github.com/Icinga/icinga2.git
Fixed incorrect argument name.
This commit is contained in:
parent
853dbfa82e
commit
5b4712c55b
|
@ -114,9 +114,9 @@ size_t String::FindFirstOf(const char *s, size_t pos) const
|
|||
return m_Data.find_first_of(s, pos);
|
||||
}
|
||||
|
||||
String String::SubStr(size_t first, size_t second) const
|
||||
String String::SubStr(size_t first, size_t len) const
|
||||
{
|
||||
return m_Data.substr(first, second);
|
||||
return m_Data.substr(first, len);
|
||||
}
|
||||
|
||||
void String::Replace(size_t first, size_t second, const String& str)
|
||||
|
|
|
@ -66,7 +66,7 @@ public:
|
|||
size_t GetLength(void) const;
|
||||
|
||||
size_t FindFirstOf(const char *s, size_t pos = 0) const;
|
||||
String SubStr(size_t first, size_t second) const;
|
||||
String SubStr(size_t first, size_t len) const;
|
||||
void Replace(size_t first, size_t second, const String& str);
|
||||
|
||||
template<typename Predicate>
|
||||
|
|
Loading…
Reference in New Issue