Fix modperl and modpython compilation.

Also fix few string-related inconsistences.
This commit is contained in:
Alexey Sokolov
2012-08-15 00:38:23 +07:00
parent e06c3f5e88
commit 9fd4149d73
6 changed files with 25 additions and 2 deletions
+3
View File
@@ -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();
+2
View File
@@ -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() {}