1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../vdr-text2skin/gcc43.patch
5 # Copyright (C) 2009 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- text2skin/cache.h.orig 2005-01-31 15:40:29.000000000 +0100
18 +++ text2skin/cache.h 2008-11-02 21:50:59.000000000 +0100
24 + unsigned int mMaxItems;
27 virtual void DeleteObject(const key_type &Key, data_type &Data) = 0;
28 virtual void ResetObject(data_type &Data) = 0;
31 - cxCache(uint MaxItems);
32 + cxCache(unsigned int MaxItems);
37 bool Contains(const key_type &Key);
38 data_type &operator[](const key_type &Key);
39 - uint Count(void) { return mUsage.size(); }
40 + unsigned int Count(void) { return mUsage.size(); }
43 template<class key_type, class data_type>
47 template<class key_type, class data_type>
48 -cxCache<key_type, data_type>::cxCache(uint MaxItems)
49 +cxCache<key_type, data_type>::cxCache(unsigned int MaxItems)