From daa25c26e99eb62a4ce499f8079b15734987ac0d Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 30 Apr 2010 05:44:39 +0000 Subject: Many minor fixes to the caching system, membuf, and others, but mainly some important fixes for real-life use of the system. --- src/cachestoremyriad.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/cachestoremyriad.h') 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 virtual void unload( obtype *pObj, const keytype &key ) { - int iStream = hId.get( key ); - MyriadStream ns = mStore.openStream( iStream ); - __cacheStoreMyriadStore( ns, *pObj, key ); delete pObj; } @@ -109,8 +106,6 @@ namespace Bu MyriadStream ns = mStore.openStream( 1 ); Bu::Archive ar( ns, Bu::Archive::save ); ar << hId; - - mStore.sync(); } virtual void sync( obtype *pSrc, const keytype &key ) -- cgit v1.2.3