From 96e6c35ec13aa4982a90d78a24617cf5110842da Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 20 May 2010 21:31:11 +0000 Subject: Added some tweaks to array and fbasicstring. --- src/array.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/array.h') diff --git a/src/array.h b/src/array.h index 029bc26..604f8a6 100644 --- a/src/array.h +++ b/src/array.h @@ -172,7 +172,7 @@ namespace Bu core->clear(); } - void append( const value &rVal ) + MyType &append( const value &rVal ) { _hardCopy(); if( core->iSize == core->iCapacity ) @@ -181,6 +181,8 @@ namespace Bu } core->va.construct( &core->pData[core->iSize++], rVal ); + + return *this; } //operator -- cgit v1.2.3