From: hno <> Date: Wed, 3 Aug 2005 21:38:23 +0000 (+0000) Subject: Fix Array operator +=. Patch by Andrey Shorin X-Git-Tag: SQUID_3_0_PRE4~697 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ad1a7712a72e6595448b188f40fe07ee33abef46;p=thirdparty%2Fsquid.git Fix Array operator +=. Patch by Andrey Shorin --- diff --git a/include/Array.h b/include/Array.h index 965764daf6..10bf25cc3a 100644 --- a/include/Array.h +++ b/include/Array.h @@ -1,5 +1,5 @@ /* - * $Id: Array.h,v 1.22 2005/06/09 07:07:30 hno Exp $ + * $Id: Array.h,v 1.23 2005/08/03 15:38:23 hno Exp $ * * AUTHOR: Alex Rousskov * @@ -92,7 +92,7 @@ public: void clean(); void reserve (size_t capacity); void push_back (E); - Vector &operator += (E item) {push_back(item);}; + Vector &operator += (E item) {push_back(item); return *this;}; void insert (E); E &back(); E pop_back();