From 0244488a3a6158659c4fcd1053f15d7f84fc06f8 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 16 Jan 2009 03:49:54 +0000 Subject: 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. --- src/tests/cache.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/tests') 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[] ) return 0; } - BobCalc cc; - BobCache cBob( cc ); - cBob.appendStore( new BobStore() ); + BobCache cBob( new BobCalc(), new BobStore() ); switch( argv[1][0] ) { case 'c': -- cgit v1.2.3