aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/cache.h2
-rw-r--r--src/cachestoremyriad.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/cache.h b/src/cache.h
index d4b1900..a2774ce 100644
--- a/src/cache.h
+++ b/src/cache.h
@@ -16,6 +16,8 @@
16 16
17#include "bu/trace.h" 17#include "bu/trace.h"
18 18
19#include "bu/sio.h"
20
19namespace Bu 21namespace Bu
20{ 22{
21// template<class keytype, class obtype> 23// template<class keytype, class obtype>
diff --git a/src/cachestoremyriad.h b/src/cachestoremyriad.h
index e632a82..e36506e 100644
--- a/src/cachestoremyriad.h
+++ b/src/cachestoremyriad.h
@@ -98,6 +98,7 @@ namespace Bu
98 MyriadStream ns = mStore.openStream( iStream ); 98 MyriadStream ns = mStore.openStream( iStream );
99 __cacheStoreMyriadStore<keytype, obtype>( ns, *pSrc, key ); 99 __cacheStoreMyriadStore<keytype, obtype>( ns, *pSrc, key );
100 ns.setSize( ns.tell() ); 100 ns.setSize( ns.tell() );
101 sync();
101 return key; 102 return key;
102 } 103 }
103 104