From 6403224b6fe50dfc28d3c25725b6d0910b7eb6c3 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 3 Oct 2024 11:28:44 -0700 Subject: Minor tweaks/additions. Now to fix MyriadFs --- src/unstable/myriadcache.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/unstable/myriadcache.h') 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 { Bu::ReadWriteMutex::WriteLocker wl( rwStore ); { - Bu::MyriadStream ms = mStore.create( Bu::Myriad::Create ); - hIndex.insert( o->getKey(), ms.getId() ); + Bu::Myriad::StreamId id = mStore.allocate(); + hIndex.insert( o->getKey(), id ); } _save( o ); -- cgit v1.2.3