aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/cachestoremyriad.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cachestoremyriad.h b/src/cachestoremyriad.h
index 928eb46..b90793d 100644
--- a/src/cachestoremyriad.h
+++ b/src/cachestoremyriad.h
@@ -106,6 +106,8 @@ namespace Bu
106 MyriadStream ns = mStore.openStream( 1 ); 106 MyriadStream ns = mStore.openStream( 1 );
107 Bu::Archive ar( ns, Bu::Archive::save ); 107 Bu::Archive ar( ns, Bu::Archive::save );
108 ar << hId; 108 ar << hId;
109 ns.setSize( ns.tell() );
110 mStore.sync();
109 } 111 }
110 112
111 virtual void sync( obtype *pSrc, const keytype &key ) 113 virtual void sync( obtype *pSrc, const keytype &key )