From d236dc89dd5725396c415402af6bc18bb44624a5 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 12 Jan 2009 20:51:58 +0000 Subject: Really a nothing change, the array is slightly more optimized in one corner case that you'll never care about. It didn't fix the strange warning messages though. --- src/array.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/array.h') diff --git a/src/array.h b/src/array.h index c69d777..0fb0df3 100644 --- a/src/array.h +++ b/src/array.h @@ -148,7 +148,7 @@ namespace Bu */ void setCapacity( long iNewLen ) { - if( iNewLen < iCapacity ) return; + if( iNewLen <= iCapacity ) return; value *pNewData = va.allocate( iNewLen ); if( pData ) { -- cgit v1.2.3