aboutsummaryrefslogtreecommitdiff
path: root/src/cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cache.h')
-rw-r--r--src/cache.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/cache.h b/src/cache.h
index 53b4f7a..87037f7 100644
--- a/src/cache.h
+++ b/src/cache.h
@@ -147,6 +147,16 @@ namespace Bu
147 return *this; 147 return *this;
148 } 148 }
149 149
150 bool operator==( const Ptr &rRhs ) const
151 {
152 return pData == rRhs.pData;
153 }
154
155 bool operator!=( const Ptr &rRhs ) const
156 {
157 return pData != rRhs.pData;
158 }
159
150 private: 160 private:
151 void checkPtr() const 161 void checkPtr() const
152 { 162 {