aboutsummaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2009-01-16 03:49:54 +0000
committerMike Buland <eichlan@xagasoft.com>2009-01-16 03:49:54 +0000
commit0244488a3a6158659c4fcd1053f15d7f84fc06f8 (patch)
treef3ef25f682470f7b8539c896f0c2f64fdbfad548 /src/tests
parent90a51615bec786fac6750616e82570cf8727db06 (diff)
downloadlibbu++-0244488a3a6158659c4fcd1053f15d7f84fc06f8.tar.gz
libbu++-0244488a3a6158659c4fcd1053f15d7f84fc06f8.tar.bz2
libbu++-0244488a3a6158659c4fcd1053f15d7f84fc06f8.tar.xz
libbu++-0244488a3a6158659c4fcd1053f15d7f84fc06f8.zip
Ok...we'll try this change up of the cache system. It now takes two pointers,
one to a Calc and one to a Store. It takes ownership of the two objects, and deletes them when it gets cleaned up.
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/cache.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tests/cache.cpp b/src/tests/cache.cpp
index 12b5bf4..bacd7fc 100644
--- a/src/tests/cache.cpp
+++ b/src/tests/cache.cpp
@@ -172,9 +172,7 @@ int main( int argc, char *argv[] )
172 return 0; 172 return 0;
173 } 173 }
174 174
175 BobCalc cc; 175 BobCache cBob( new BobCalc(), new BobStore() );
176 BobCache cBob( cc );
177 cBob.appendStore( new BobStore() );
178 switch( argv[1][0] ) 176 switch( argv[1][0] )
179 { 177 {
180 case 'c': 178 case 'c':