mirror of https://github.com/Icinga/icinga2.git
Made String::Split() const.
This commit is contained in:
parent
5b4712c55b
commit
8f2aea6958
|
@ -70,7 +70,7 @@ public:
|
||||||
void Replace(size_t first, size_t second, const String& str);
|
void Replace(size_t first, size_t second, const String& str);
|
||||||
|
|
||||||
template<typename Predicate>
|
template<typename Predicate>
|
||||||
vector<String> Split(const Predicate& predicate)
|
vector<String> Split(const Predicate& predicate) const
|
||||||
{
|
{
|
||||||
vector<String> tokens;
|
vector<String> tokens;
|
||||||
boost::algorithm::split(tokens, m_Data, predicate);
|
boost::algorithm::split(tokens, m_Data, predicate);
|
||||||
|
|
Loading…
Reference in New Issue