From ad6f4dfcc671d3f8d458c42b0992956f2a2cf979 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 12 Nov 2009 17:25:51 +0000 Subject: Works with libbu++ changes. --- src/cache.cpp | 4 ++-- src/cache.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/cache.cpp b/src/cache.cpp index b8e94ec..d2bf537 100644 --- a/src/cache.cpp +++ b/src/cache.cpp @@ -15,7 +15,7 @@ Cache::~Cache() } } -void Cache::archive( class Bu::Archive &ar ) +void Cache::archive( class Bu::ArchiveBase &ar ) { if( ar.isLoading() ) { @@ -87,7 +87,7 @@ void Cache::archive( class Bu::Archive &ar ) { (*i).second = cnt; cnt++; - std::string s = ((*i).first); + Bu::FString s( ((*i).first).c_str(), ((*i).first).size() ); ar << s; } diff --git a/src/cache.h b/src/cache.h index 93b546c..50264de 100644 --- a/src/cache.h +++ b/src/cache.h @@ -14,7 +14,7 @@ public: Cache(); virtual ~Cache(); - virtual void archive( class Bu::Archive &ar ); + virtual void archive( class Bu::ArchiveBase &ar ); class Entry { -- cgit v1.2.3