summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2015-09-13 23:48:27 +0000
committerMike Buland <eichlan@xagasoft.com>2015-09-13 23:48:27 +0000
commitb2997491473a00f7fe11201d62228edd92c645fb (patch)
treea6fbbe11f5b2caa9badd2642d1dd0dd1a40552ee
parent6d5135aa23f2ae12d953ceab1c1d01e003a55be1 (diff)
downloadlibbu++-b2997491473a00f7fe11201d62228edd92c645fb.tar.gz
libbu++-b2997491473a00f7fe11201d62228edd92c645fb.tar.bz2
libbu++-b2997491473a00f7fe11201d62228edd92c645fb.tar.xz
libbu++-b2997491473a00f7fe11201d62228edd92c645fb.zip
The cache wasn't accessible from CacheObject decendants that were const.
-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 080312f..333d766 100644
--- a/src/unstable/cacheobject.h
+++ b/src/unstable/cacheobject.h
@@ -123,6 +123,11 @@ namespace Bu
123 { 123 {
124 return pCache; 124 return pCache;
125 } 125 }
126
127 CacheType *getCache() const
128 {
129 return pCache;
130 }
126 131
127 public: 132 public:
128 class Initializer 133 class Initializer