diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-04-04 22:04:56 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-04-04 22:04:56 +0000 |
commit | f837e7ef09bab37d2f896f381f5f956c824633c5 (patch) | |
tree | e370d52082d96017cba697169e3d597b2d626e6e /src/cachestoremyriad.h | |
parent | f90231fc35f3405a276da0debfb7d83fffd0c44a (diff) | |
download | libbu++-f837e7ef09bab37d2f896f381f5f956c824633c5.tar.gz libbu++-f837e7ef09bab37d2f896f381f5f956c824633c5.tar.bz2 libbu++-f837e7ef09bab37d2f896f381f5f956c824633c5.tar.xz libbu++-f837e7ef09bab37d2f896f381f5f956c824633c5.zip |
Minor tweak to the cache and cachestoremyriad, fixing a strange corner case
in the cache system.
Diffstat (limited to '')
-rw-r--r-- | src/cachestoremyriad.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 | ||