diff options
Diffstat (limited to '')
-rw-r--r-- | src/cachestoremyriad.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/cachestoremyriad.h b/src/cachestoremyriad.h index e5a10eb..3ae3ec8 100644 --- a/src/cachestoremyriad.h +++ b/src/cachestoremyriad.h | |||
@@ -88,9 +88,6 @@ namespace Bu | |||
88 | 88 | ||
89 | virtual void unload( obtype *pObj, const keytype &key ) | 89 | virtual void unload( obtype *pObj, const keytype &key ) |
90 | { | 90 | { |
91 | int iStream = hId.get( key ); | ||
92 | MyriadStream ns = mStore.openStream( iStream ); | ||
93 | __cacheStoreMyriadStore<keytype, obtype>( ns, *pObj, key ); | ||
94 | delete pObj; | 91 | delete pObj; |
95 | } | 92 | } |
96 | 93 | ||
@@ -109,8 +106,6 @@ namespace Bu | |||
109 | MyriadStream ns = mStore.openStream( 1 ); | 106 | MyriadStream ns = mStore.openStream( 1 ); |
110 | Bu::Archive ar( ns, Bu::Archive::save ); | 107 | Bu::Archive ar( ns, Bu::Archive::save ); |
111 | ar << hId; | 108 | ar << hId; |
112 | |||
113 | mStore.sync(); | ||
114 | } | 109 | } |
115 | 110 | ||
116 | virtual void sync( obtype *pSrc, const keytype &key ) | 111 | virtual void sync( obtype *pSrc, const keytype &key ) |