aboutsummaryrefslogtreecommitdiff
path: root/src/array.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2008-11-13 21:45:46 +0000
committerMike Buland <eichlan@xagasoft.com>2008-11-13 21:45:46 +0000
commitc1229c50baa4816924e1914f3b4c78177749b73d (patch)
tree7623264d2891428fec7cfea87fcbd89e81a08a11 /src/array.h
parent10e4dc6a9bb1360a80bf240a7da72b442cab748a (diff)
downloadlibbu++-c1229c50baa4816924e1914f3b4c78177749b73d.tar.gz
libbu++-c1229c50baa4816924e1914f3b4c78177749b73d.tar.bz2
libbu++-c1229c50baa4816924e1914f3b4c78177749b73d.tar.xz
libbu++-c1229c50baa4816924e1914f3b4c78177749b73d.zip
Huh, there should be more here...I...uh...I'm confused.
Diffstat (limited to 'src/array.h')
-rw-r--r--src/array.h7
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