diff options
Diffstat (limited to 'src/cachecalc.h')
| -rw-r--r-- | src/cachecalc.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cachecalc.h b/src/cachecalc.h index dd6add1..27680b9 100644 --- a/src/cachecalc.h +++ b/src/cachecalc.h | |||
| @@ -14,14 +14,14 @@ | |||
| 14 | 14 | ||
| 15 | namespace Bu | 15 | namespace Bu |
| 16 | { | 16 | { |
| 17 | template<class obtype, class keytype> class Cache; | 17 | template<class keytype, class obtype> class Cache; |
| 18 | 18 | ||
| 19 | template<class obtype, class keytype> | 19 | template<class keytype, class obtype> |
| 20 | class CacheCalc | 20 | class CacheCalc |
| 21 | { | 21 | { |
| 22 | friend class Cache<obtype, keytype>; | 22 | friend class Cache<keytype, obtype>; |
| 23 | private: | 23 | private: |
| 24 | typedef Cache<obtype, keytype> MyCache; | 24 | typedef Cache<keytype, obtype> MyCache; |
| 25 | public: | 25 | public: |
| 26 | CacheCalc() : | 26 | CacheCalc() : |
| 27 | pCache( (MyCache *)0 ) | 27 | pCache( (MyCache *)0 ) |
