aboutsummaryrefslogtreecommitdiff
path: root/src/unstable
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/unstable/cacheobject.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/unstable/cacheobject.h b/src/unstable/cacheobject.h
index 47e09de..e519a9c 100644
--- a/src/unstable/cacheobject.h
+++ b/src/unstable/cacheobject.h
@@ -93,6 +93,14 @@ namespace Bu
93 this->bChanged = bChanged; 93 this->bChanged = bChanged;
94 } 94 }
95 95
96 void changed( bool bChanged=true ) const // not really!
97 {
98 if( bChanged == true )
99 return;
100
101 this->bChanged = bChanged;
102 }
103
96 CacheType *getCache() 104 CacheType *getCache()
97 { 105 {
98 return pCache; 106 return pCache;
@@ -135,7 +143,7 @@ namespace Bu
135 private: 143 private:
136 CacheType *pCache; 144 CacheType *pCache;
137 EntryType *pEntry; 145 EntryType *pEntry;
138 bool bChanged; 146 mutable bool bChanged;
139 }; 147 };
140} 148}
141 149