[sword-cvs] sword/include swbuf.h,1.4,1.5
sword@www.crosswire.org
sword@www.crosswire.org
Mon, 24 Feb 2003 22:01:17 -0700
Update of /usr/local/cvsroot/sword/include
In directory www:/tmp/cvs-serv4851/include
Modified Files:
swbuf.h
Log Message:
Index: swbuf.h
===================================================================
RCS file: /usr/local/cvsroot/sword/include/swbuf.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** swbuf.h 25 Feb 2003 04:12:47 -0000 1.4
--- swbuf.h 25 Feb 2003 05:01:14 -0000 1.5
***************
*** 74,78 ****
SWBuf &operator +=(char ch) { append(ch); return *this; }
SWBuf &operator -=(unsigned int len) { setSize(length()-len); return *this; }
! SWBuf &operator --() { operator -=(1); return *this; }
SWBuf operator +(const SWBuf &other) const;
SWBuf operator +(char ch) const { return (*this) + SWBuf(ch); }
--- 74,78 ----
SWBuf &operator +=(char ch) { append(ch); return *this; }
SWBuf &operator -=(unsigned int len) { setSize(length()-len); return *this; }
! SWBuf &operator --(int) { operator -=(1); return *this; }
SWBuf operator +(const SWBuf &other) const;
SWBuf operator +(char ch) const { return (*this) + SWBuf(ch); }