diff options
| author | Mike Buland <mbuland@penny-arcade.com> | 2022-04-20 11:14:47 -0700 |
|---|---|---|
| committer | Mike Buland <mbuland@penny-arcade.com> | 2022-04-20 11:14:47 -0700 |
| commit | d10e6a5ca0905f0ef2836cd98aebfb48e7f1e8a3 (patch) | |
| tree | 0235e978cc5ffa94d790a4e26b5cf1e5492cab2b /src/unstable/myriadcache.h | |
| parent | 819ff3d27012b4ec4a0a21c150c112a4dd28b14d (diff) | |
| download | libbu++-d10e6a5ca0905f0ef2836cd98aebfb48e7f1e8a3.tar.gz libbu++-d10e6a5ca0905f0ef2836cd98aebfb48e7f1e8a3.tar.bz2 libbu++-d10e6a5ca0905f0ef2836cd98aebfb48e7f1e8a3.tar.xz libbu++-d10e6a5ca0905f0ef2836cd98aebfb48e7f1e8a3.zip | |
ArchiveBase/Archive renamed. More to come.
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 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() ); |
