diff options
Diffstat (limited to '')
-rw-r--r-- | src/tests/cache.cpp | 6 |
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 | ||
61 | class BobStore : public Bu::CacheStore<Bob, long> | 61 | class BobStore : public Bu::CacheStore<long, Bob> |
62 | { | 62 | { |
63 | public: | 63 | public: |
64 | BobStore() : | 64 | BobStore() : |
@@ -158,7 +158,7 @@ private: | |||
158 | long cLastId; | 158 | long cLastId; |
159 | }; | 159 | }; |
160 | 160 | ||
161 | class BobCalc : public Bu::CacheCalc<Bob, long> | 161 | class BobCalc : public Bu::CacheCalc<long, Bob> |
162 | { | 162 | { |
163 | public: | 163 | public: |
164 | BobCalc() | 164 | BobCalc() |
@@ -189,7 +189,7 @@ private: | |||
189 | int main( int argc, char *argv[] ) | 189 | int 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 ) |