summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/cache.h b/cache.h
index 11b7d79..1fd0811 100644
--- a/cache.h
+++ b/cache.h
@@ -1,5 +1,5 @@
/*
- * $Id: cache.h,v 1.3 2004/06/08 20:45:52 lordjaxom Exp $
+ * $Id: cache.h,v 1.4 2004/06/16 18:46:50 lordjaxom Exp $
*/
#ifndef VDR_TEXT2SKIN_CACHE_HPP
@@ -69,10 +69,6 @@ inline void cText2SkinCache<K,D>::Delete(Item *item) {
}
template<class K,class D>
-inline void cText2SkinCache<K,D>::Delete(K &key, D &Data) {
-}
-
-template<class K,class D>
inline void cText2SkinCache<K,D>::Update(Item *item) {
item->_lastUsed = time_ms();
if (item->_next != NULL || item->_prev != NULL)
@@ -111,6 +107,11 @@ cText2SkinCache<K,D>::~cText2SkinCache() {
}
template<class K,class D>
+void cText2SkinCache<K,D>::Delete(K &key, D &Data) {
+ abort();
+}
+
+template<class K,class D>
void cText2SkinCache<K,D>::Flush(void) {
Item *cur = _first;
while (cur) {