diff options
Diffstat (limited to 'src/unstable/myriadcache.h')
-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 7bba93b..8a1f9db 100644 --- a/src/unstable/myriadcache.h +++ b/src/unstable/myriadcache.h | |||
@@ -29,7 +29,7 @@ namespace Bu | |||
29 | { | 29 | { |
30 | Bu::ReadWriteMutex::ReadLocker l( rwStore ); | 30 | Bu::ReadWriteMutex::ReadLocker l( rwStore ); |
31 | Bu::MyriadStream ms = mStore.openStream( 1 ); | 31 | Bu::MyriadStream ms = mStore.openStream( 1 ); |
32 | Bu::Archive ar( ms, Bu::Archive::load ); | 32 | Bu::ArchiveBinary ar( ms, Bu::ArchiveBinary::load ); |
33 | uint8_t uVer; | 33 | uint8_t uVer; |
34 | ar >> uVer; | 34 | ar >> uVer; |
35 | switch( uVer ) | 35 | switch( uVer ) |
@@ -118,7 +118,7 @@ namespace Bu | |||
118 | return; | 118 | return; |
119 | 119 | ||
120 | Bu::MyriadStream ms = mStore.openStream( 1 ); | 120 | Bu::MyriadStream ms = mStore.openStream( 1 ); |
121 | Bu::Archive ar( ms, Bu::Archive::save ); | 121 | Bu::ArchiveBinary ar( ms, Bu::ArchiveBinary::save ); |
122 | ar << (uint8_t)0 << hIndex; | 122 | ar << (uint8_t)0 << hIndex; |
123 | ar.close(); | 123 | ar.close(); |
124 | ms.setSize( ms.tell() ); | 124 | ms.setSize( ms.tell() ); |