diff options
Diffstat (limited to 'src/array.h')
-rw-r--r-- | src/array.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/array.h b/src/array.h index 1f11cd9..c69d777 100644 --- a/src/array.h +++ b/src/array.h | |||
@@ -62,9 +62,12 @@ namespace Bu | |||
62 | { | 62 | { |
63 | clear(); | 63 | clear(); |
64 | setCapacity( src.iCapacity ); | 64 | setCapacity( src.iCapacity ); |
65 | long iTop=src.getSize(); | 65 | |
66 | for( long i=0; i<iTop; ++i ) | 66 | long iTop = src.getSize(); |
67 | for( long i = 0; i < iTop; ++i ) | ||
68 | { | ||
67 | append( src[i] ); | 69 | append( src[i] ); |
70 | } | ||
68 | return *this; | 71 | return *this; |
69 | } | 72 | } |
70 | 73 | ||