aboutsummaryrefslogtreecommitdiff
path: root/src/unstable/myriadcache.h
diff options
context:
space:
mode:
authorMike Buland <mike@xagasoft.com>2024-10-03 11:28:44 -0700
committerMike Buland <mike@xagasoft.com>2024-10-03 11:28:44 -0700
commit6403224b6fe50dfc28d3c25725b6d0910b7eb6c3 (patch)
tree015d35db7a0a3cbcc72487a1df0d59e5c4e685bf /src/unstable/myriadcache.h
parent7487eea1b802bf0f45afcef5807251049b034dd8 (diff)
downloadlibbu++-6403224b6fe50dfc28d3c25725b6d0910b7eb6c3.tar.gz
libbu++-6403224b6fe50dfc28d3c25725b6d0910b7eb6c3.tar.bz2
libbu++-6403224b6fe50dfc28d3c25725b6d0910b7eb6c3.tar.xz
libbu++-6403224b6fe50dfc28d3c25725b6d0910b7eb6c3.zip
Minor tweaks/additions.myriad
Now to fix MyriadFs
Diffstat (limited to 'src/unstable/myriadcache.h')
-rw-r--r--src/unstable/myriadcache.h4
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