freebsd-ports/devel/gcvs/files/patch-rf_ustr.h
Martin Wilke a28acc2928 - Fix build with gcc 4.2/AMD64
PR:		118027
Submitted by:	Pietro Cerutti <gahr@gahr.ch>
Approved by:	portmgr (pav,linimon)
2007-11-22 22:27:29 +00:00

20 lines
691 B
C

--- rf/ustr.h.orig 2007-11-13 22:31:20.000000000 +0100
+++ rf/ustr.h 2007-11-13 22:32:08.000000000 +0100
@@ -175,13 +175,13 @@
//! concatenate
UStr & operator<<(int addToStr);
//! concatenate
- UStr & UStr::operator+=(int addToStr);
+ UStr & operator+=(int addToStr);
//! concatenate
- UStr & UStr::operator+=(char *addToStr);
+ UStr & operator+=(char *addToStr);
//! concatenate
- UStr & UStr::operator+=(const char *addToStr);
+ UStr & operator+=(const char *addToStr);
//! concatenate
- UStr & UStr::operator+=(const UStr & addToStr);
+ UStr & operator+=(const UStr & addToStr);
//! compare
inline int compare(const char *thestr) const { return strcmp(*this, thestr); }