mirror of
https://github.com/znc/znc.git
synced 2026-05-10 07:14:43 +02:00
Split the Token() change to an overloaded function
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1780 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -407,6 +407,10 @@ CString CString::Token(unsigned int uPos, bool bRest, const CString& sSep, bool
|
||||
return sRet;
|
||||
}
|
||||
|
||||
return Token(uPos, bRest, sSep, bAllowEmpty);
|
||||
}
|
||||
|
||||
CString CString::Token(unsigned int uPos, bool bRest, const CString& sSep, bool bAllowEmpty) const {
|
||||
const char *sep_str = sSep.c_str();
|
||||
size_t sep_len = sSep.length();
|
||||
const char *str = c_str();
|
||||
|
||||
Reference in New Issue
Block a user