summaryrefslogtreecommitdiff
path: root/src/array.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/array.h')
-rw-r--r--src/array.h2
1 files changed, 1 insertions, 1 deletions
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
148 */ 148 */
149 void setCapacity( long iNewLen ) 149 void setCapacity( long iNewLen )
150 { 150 {
151 if( iNewLen < iCapacity ) return; 151 if( iNewLen <= iCapacity ) return;
152 value *pNewData = va.allocate( iNewLen ); 152 value *pNewData = va.allocate( iNewLen );
153 if( pData ) 153 if( pData )
154 { 154 {