--- parser3/src/include/pa_string.h 2001/04/07 11:55:32 1.75 +++ parser3/src/include/pa_string.h 2001/04/08 13:11:17 1.76 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_string.h,v 1.75 2001/04/07 11:55:32 paf Exp $ + $Id: pa_string.h,v 1.76 2001/04/08 13:11:17 paf Exp $ */ #ifndef PA_STRING_H @@ -164,8 +164,8 @@ public: or marking ALL pieces of it with a @a lang when @a forced to. */ String& append(const String& src, Untaint_lang lang, bool forced=false); - String& operator += (const String& src) { return append(src, UL_PASS_APPENDED); } - String& operator += (const char *src) { return APPEND_CONST(src); } + String& operator << (const String& src) { return append(src, UL_PASS_APPENDED); } + String& operator << (const char *src) { return APPEND_CONST(src); } /// simple hash code of string. used by Hash uint hash_code() const;