diff options
Diffstat (limited to 'src/unstable/cachebase.h')
-rw-r--r-- | src/unstable/cachebase.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unstable/cachebase.h b/src/unstable/cachebase.h index 026e69b..270c2df 100644 --- a/src/unstable/cachebase.h +++ b/src/unstable/cachebase.h | |||
@@ -15,6 +15,8 @@ | |||
15 | #include "bu/mutexlocker.h" | 15 | #include "bu/mutexlocker.h" |
16 | #include "bu/cacheobject.h" | 16 | #include "bu/cacheobject.h" |
17 | 17 | ||
18 | #include "bu/sio.h" | ||
19 | |||
18 | namespace Bu | 20 | namespace Bu |
19 | { | 21 | { |
20 | template<typename keytype, typename obtype> class CacheBase; | 22 | template<typename keytype, typename obtype> class CacheBase; |
@@ -320,8 +322,6 @@ namespace Bu | |||
320 | 322 | ||
321 | virtual ~CacheBase() | 323 | virtual ~CacheBase() |
322 | { | 324 | { |
323 | Bu::ReadWriteMutex::WriteLocker wl( mCacheEntry ); | ||
324 | syncChanges(); | ||
325 | } | 325 | } |
326 | 326 | ||
327 | typedef CacheEntry<keytype, obtype> Entry; | 327 | typedef CacheEntry<keytype, obtype> Entry; |