Update of /cvsroot/mod-c/ehtml/include
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv16003/include
Modified Files:
MemBuf.h
Log Message:
* Added operator =.
* Bugfix in resize(), ~MemBuf().
Index: MemBuf.h
===================================================================
RCS file: /cvsroot/mod-c/ehtml/include/MemBuf.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** MemBuf.h 8 Sep 2006 14:22:47 -0000 1.1
--- MemBuf.h 8 Sep 2006 20:57:46 -0000 1.2
***************
*** 36,39 ****
--- 36,40 ----
size_t Size() const { return _b->_size; }
+ MemBuf& operator = (const MemBuf&);
char& operator[](int x) { return ((char*)_b->_buf)[x]; }
char* Char() { return (char*)_b->_buf; }
|