aboutsummaryrefslogtreecommitdiff
path: root/src/cachestorenids.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/cachestorenids.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/cachestorenids.h b/src/cachestorenids.h
index c9e8fd1..54129b0 100644
--- a/src/cachestorenids.h
+++ b/src/cachestorenids.h
@@ -89,9 +89,6 @@ namespace Bu
89 89
90 virtual void unload( obtype *pObj, const keytype &key ) 90 virtual void unload( obtype *pObj, const keytype &key )
91 { 91 {
92 int iStream = hId.get( key );
93 NidsStream ns = nStore.openStream( iStream );
94 __cacheStoreNidsStore<keytype, obtype>( ns, *pObj, key );
95 delete pObj; 92 delete pObj;
96 } 93 }
97 94
@@ -110,8 +107,6 @@ namespace Bu
110 NidsStream ns = nStore.openStream( 0 ); 107 NidsStream ns = nStore.openStream( 0 );
111 Bu::Archive ar( ns, Bu::Archive::save ); 108 Bu::Archive ar( ns, Bu::Archive::save );
112 ar << hId; 109 ar << hId;
113
114 nStore.sync();
115 } 110 }
116 111
117 virtual void sync( obtype *pSrc, const keytype &key ) 112 virtual void sync( obtype *pSrc, const keytype &key )