aboutsummaryrefslogtreecommitdiff
path: root/src/unstable/cachebase.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/unstable/cachebase.h')
-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;