summaryrefslogtreecommitdiff
path: root/src/tests/cache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/cache.cpp')
-rw-r--r--src/tests/cache.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/cache.cpp b/src/tests/cache.cpp
index a098145..11a4215 100644
--- a/src/tests/cache.cpp
+++ b/src/tests/cache.cpp
@@ -58,7 +58,7 @@ namespace Bu {
58 } 58 }
59} 59}
60 60
61class BobStore : public Bu::CacheStore<Bob, long> 61class BobStore : public Bu::CacheStore<long, Bob>
62{ 62{
63public: 63public:
64 BobStore() : 64 BobStore() :
@@ -158,7 +158,7 @@ private:
158 long cLastId; 158 long cLastId;
159}; 159};
160 160
161class BobCalc : public Bu::CacheCalc<Bob, long> 161class BobCalc : public Bu::CacheCalc<long, Bob>
162{ 162{
163public: 163public:
164 BobCalc() 164 BobCalc()
@@ -189,7 +189,7 @@ private:
189int main( int argc, char *argv[] ) 189int main( int argc, char *argv[] )
190{ 190{
191 TRACE( argc, argv ); 191 TRACE( argc, argv );
192 typedef Bu::Cache<Bob, long> BobCache; 192 typedef Bu::Cache<long, Bob> BobCache;
193 typedef BobCache::Ptr BobPtr; 193 typedef BobCache::Ptr BobPtr;
194 194
195 if( argc < 3 ) 195 if( argc < 3 )