aboutsummaryrefslogtreecommitdiff
path: root/src/unstable/cacheobject.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2013-03-25 23:31:03 +0000
committerMike Buland <eichlan@xagasoft.com>2013-03-25 23:31:03 +0000
commitcc81b205410c2cf8e20a53eea745d9d8aee57f6c (patch)
treec5f158fc5ce573a8e3ddb2f845dc2514a091a9f7 /src/unstable/cacheobject.h
parentea768b490a1881dfa443f16ade34300088bbdf94 (diff)
downloadlibbu++-cc81b205410c2cf8e20a53eea745d9d8aee57f6c.tar.gz
libbu++-cc81b205410c2cf8e20a53eea745d9d8aee57f6c.tar.bz2
libbu++-cc81b205410c2cf8e20a53eea745d9d8aee57f6c.tar.xz
libbu++-cc81b205410c2cf8e20a53eea745d9d8aee57f6c.zip
Corrected a pure virtual call issue while destroying caches.
Diffstat (limited to '')
-rw-r--r--src/unstable/cacheobject.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/unstable/cacheobject.h b/src/unstable/cacheobject.h
index d8ed431..114a76f 100644
--- a/src/unstable/cacheobject.h
+++ b/src/unstable/cacheobject.h
@@ -66,6 +66,11 @@ namespace Bu
66 this->bChanged = bChanged; 66 this->bChanged = bChanged;
67 } 67 }
68 68
69 CacheType *getCache()
70 {
71 return pCache;
72 }
73
69 private: 74 private:
70 typedef CacheEntry<keytype, obtype> Entry; 75 typedef CacheEntry<keytype, obtype> Entry;
71 void setCache( CacheType *pCache, Entry *pEntry ) 76 void setCache( CacheType *pCache, Entry *pEntry )