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 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cache.cpp') 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; } -- cgit v1.2.3