mirror of
https://github.com/znc/znc.git
synced 2026-08-07 01:13:25 +02:00
Fix modperl and modpython compilation.
Also fix few string-related inconsistences.
This commit is contained in:
@@ -20,6 +20,7 @@ class CClient;
|
||||
|
||||
class CBufLine {
|
||||
public:
|
||||
CBufLine() { throw 0; } // shouldn't be called, but is needed for compilation
|
||||
CBufLine(const CString& sFormat, const CString& sText = "", const timeval* ts = 0);
|
||||
~CBufLine();
|
||||
CString GetLine(const CClient& Client, const MCString& msParams) const;
|
||||
@@ -46,6 +47,8 @@ protected:
|
||||
|
||||
class CBuffer : private std::deque<CBufLine> {
|
||||
public:
|
||||
typedef typename std::deque<CBufLine>::size_type size_type;
|
||||
|
||||
CBuffer(unsigned int uLineCount = 100);
|
||||
~CBuffer();
|
||||
|
||||
|
||||
@@ -123,6 +123,8 @@ protected:
|
||||
*/
|
||||
class CTable : protected std::vector<std::vector<CString> > {
|
||||
public:
|
||||
typedef typename std::vector<std::vector<CString> >::size_type size_type;
|
||||
|
||||
CTable() {}
|
||||
virtual ~CTable() {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user