summaryrefslogtreecommitdiff
path: root/bitmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'bitmap.h')
-rw-r--r--bitmap.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/bitmap.h b/bitmap.h
index be29363..9f14120 100644
--- a/bitmap.h
+++ b/bitmap.h
@@ -1,5 +1,5 @@
/*
- * $Id: bitmap.h,v 1.7 2005/01/28 21:26:34 lordjaxom Exp $
+ * $Id: bitmap.h,v 1.8 2005/01/31 14:40:29 lordjaxom Exp $
*/
#ifndef VDR_TEXT2SKIN_BITMAP_H
@@ -57,11 +57,12 @@ protected:
public:
cBitmapCache(uint MaxItems): cxCache<tBitmapSpec,cText2SkinBitmap*>(MaxItems) {}
+ virtual ~cBitmapCache() { Flush(); }
};
class cText2SkinBitmap {
private:
- static cBitmapCache mCache;
+ static cBitmapCache mCache;
std::vector<cBitmap*> mBitmaps;
int mCurrent;