aboutsummaryrefslogtreecommitdiff
path: root/src/unstable/cachebase.h
diff options
context:
space:
mode:
authorMike Buland <mbuland@penny-arcade.com>2022-04-20 11:14:47 -0700
committerMike Buland <mbuland@penny-arcade.com>2022-04-20 11:14:47 -0700
commitd10e6a5ca0905f0ef2836cd98aebfb48e7f1e8a3 (patch)
tree0235e978cc5ffa94d790a4e26b5cf1e5492cab2b /src/unstable/cachebase.h
parent819ff3d27012b4ec4a0a21c150c112a4dd28b14d (diff)
downloadlibbu++-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/cachebase.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/unstable/cachebase.h b/src/unstable/cachebase.h
index 7a54465..f986a89 100644
--- a/src/unstable/cachebase.h
+++ b/src/unstable/cachebase.h
@@ -9,7 +9,7 @@
9#define BU_CACHE_BASE_H 9#define BU_CACHE_BASE_H
10 10
11#include "bu/string.h" 11#include "bu/string.h"
12#include "bu/archive.h" 12#include "bu/archivebinary.h"
13#include "bu/hash.h" 13#include "bu/hash.h"
14#include "bu/readwritemutex.h" 14#include "bu/readwritemutex.h"
15#include "bu/mutexlocker.h" 15#include "bu/mutexlocker.h"
@@ -659,7 +659,7 @@ namespace Bu
659 template<typename obtype> 659 template<typename obtype>
660 void _cacheObjectSave( Bu::Stream &s, obtype *pObject ) 660 void _cacheObjectSave( Bu::Stream &s, obtype *pObject )
661 { 661 {
662 Bu::Archive ar( s, Bu::Archive::save ); 662 Bu::ArchiveBinary ar( s, Bu::Archive::save );
663 ar << *pObject; 663 ar << *pObject;
664 } 664 }
665 665
@@ -670,7 +670,7 @@ namespace Bu
670 Bu::Stream &s 670 Bu::Stream &s
671 ) 671 )
672 { 672 {
673 Bu::Archive ar( s, Bu::Archive::load ); 673 Bu::ArchiveBinary ar( s, Bu::Archive::load );
674 obtype *ret = initObject(new obtype()); 674 obtype *ret = initObject(new obtype());
675 ar >> *ret; 675 ar >> *ret;
676 return ret; 676 return ret;