mirror of
https://github.com/znc/znc.git
synced 2026-07-07 02:11:20 +02:00
Make CString::strnchr() private
No idea what this function actually does, but it's only used internally in CString. This also removes a bogus "inline". git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2110 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+1
-1
@@ -88,7 +88,6 @@ public:
|
||||
CString(const string& s) : string(s) {}
|
||||
~CString() {}
|
||||
|
||||
inline unsigned char* strnchr(const unsigned char* src, unsigned char c, unsigned int iMaxBytes, unsigned char* pFill = NULL, unsigned int* piCount = NULL) const;
|
||||
int CaseCmp(const CString& s, unsigned long uLen = CString::npos) const;
|
||||
int StrCmp(const CString& s, unsigned long uLen = CString::npos) const;
|
||||
bool Equals(const CString& s, bool bCaseSensitive = false, unsigned long uLen = CString::npos) const;
|
||||
@@ -182,6 +181,7 @@ public:
|
||||
|
||||
private:
|
||||
protected:
|
||||
unsigned char* strnchr(const unsigned char* src, unsigned char c, unsigned int iMaxBytes, unsigned char* pFill = NULL, unsigned int* piCount = NULL) const;
|
||||
};
|
||||
|
||||
class MCString : public map<CString, CString> {
|
||||
|
||||
Reference in New Issue
Block a user