diff options
author | Mike Buland <mike@xagasoft.com> | 2024-10-03 11:28:44 -0700 |
---|---|---|
committer | Mike Buland <mike@xagasoft.com> | 2024-10-03 11:28:44 -0700 |
commit | 6403224b6fe50dfc28d3c25725b6d0910b7eb6c3 (patch) | |
tree | 015d35db7a0a3cbcc72487a1df0d59e5c4e685bf /src/unstable/myriadcache.h | |
parent | 7487eea1b802bf0f45afcef5807251049b034dd8 (diff) | |
download | libbu++-6403224b6fe50dfc28d3c25725b6d0910b7eb6c3.tar.gz libbu++-6403224b6fe50dfc28d3c25725b6d0910b7eb6c3.tar.bz2 libbu++-6403224b6fe50dfc28d3c25725b6d0910b7eb6c3.tar.xz libbu++-6403224b6fe50dfc28d3c25725b6d0910b7eb6c3.zip |
Minor tweaks/additions.
Now to fix MyriadFs
Diffstat (limited to '')
-rw-r--r-- | src/unstable/myriadcache.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unstable/myriadcache.h b/src/unstable/myriadcache.h index d6842a5..f71f9b5 100644 --- a/src/unstable/myriadcache.h +++ b/src/unstable/myriadcache.h | |||
@@ -86,8 +86,8 @@ namespace Bu | |||
86 | { | 86 | { |
87 | Bu::ReadWriteMutex::WriteLocker wl( rwStore ); | 87 | Bu::ReadWriteMutex::WriteLocker wl( rwStore ); |
88 | { | 88 | { |
89 | Bu::MyriadStream ms = mStore.create( Bu::Myriad::Create ); | 89 | Bu::Myriad::StreamId id = mStore.allocate(); |
90 | hIndex.insert( o->getKey(), ms.getId() ); | 90 | hIndex.insert( o->getKey(), id ); |
91 | } | 91 | } |
92 | _save( o ); | 92 | _save( o ); |
93 | 93 | ||