Made String::Split() const.

This commit is contained in:
Gunnar Beutner 2013-01-21 13:29:00 +01:00
parent 5b4712c55b
commit 8f2aea6958
1 changed files with 1 additions and 1 deletions

View File

@ -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);