blob: 043c1ecbd86d0bc2a60e8f285327e7c449e6a613 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
--- imagecache.h.orig 2008-12-20 18:02:29.000000000 +0100
+++ imagecache.h 2008-12-20 18:07:46.000000000 +0100
@@ -19,21 +19,21 @@
item_map mItems;
usage_list mUsage;
- uint mMaxItems;
+ unsigned int mMaxItems;
protected:
virtual void DeleteObject(const key_type &Key, data_type &Data) = 0;
virtual void ResetObject(data_type &Data) = 0;
public:
- cxCache(uint MaxItems);
+ cxCache(unsigned int MaxItems);
virtual ~cxCache();
void Reset(void);
void Flush(void);
bool Contains(const key_type &Key);
data_type &operator[](const key_type &Key);
- uint Count(void) { return mUsage.size(); }
+ unsigned int Count(void) { return mUsage.size(); }
};
template<class key_type, class data_type>
@@ -43,7 +43,7 @@
}
template<class key_type, class data_type>
-cxCache<key_type, data_type>::cxCache(uint MaxItems)
+cxCache<key_type, data_type>::cxCache(unsigned int MaxItems)
{
mMaxItems = MaxItems;
}
|