mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
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);
|
||||
|
||||
template<typename Predicate>
|
||||
vector<String> Split(const Predicate& predicate)
|
||||
vector<String> Split(const Predicate& predicate) const
|
||||
{
|
||||
vector<String> tokens;
|
||||
boost::algorithm::split(tokens, m_Data, predicate);
|
||||
|
Loading…
x
Reference in New Issue
Block a user