diff options
author | Mike Buland <eichlan@xagasoft.com> | 2009-11-12 17:25:51 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2009-11-12 17:25:51 +0000 |
commit | ad6f4dfcc671d3f8d458c42b0992956f2a2cf979 (patch) | |
tree | 76442bd4eec8d84777c4664f4424384558b99947 /src/cache.cpp | |
parent | 18b953acc63545125411b7c9a78f322339fbe7bd (diff) | |
download | build-ad6f4dfcc671d3f8d458c42b0992956f2a2cf979.tar.gz build-ad6f4dfcc671d3f8d458c42b0992956f2a2cf979.tar.bz2 build-ad6f4dfcc671d3f8d458c42b0992956f2a2cf979.tar.xz build-ad6f4dfcc671d3f8d458c42b0992956f2a2cf979.zip |
Works with libbu++ changes.
Diffstat (limited to '')
-rw-r--r-- | src/cache.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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() | |||
15 | } | 15 | } |
16 | } | 16 | } |
17 | 17 | ||
18 | void Cache::archive( class Bu::Archive &ar ) | 18 | void Cache::archive( class Bu::ArchiveBase &ar ) |
19 | { | 19 | { |
20 | if( ar.isLoading() ) | 20 | if( ar.isLoading() ) |
21 | { | 21 | { |
@@ -87,7 +87,7 @@ void Cache::archive( class Bu::Archive &ar ) | |||
87 | { | 87 | { |
88 | (*i).second = cnt; | 88 | (*i).second = cnt; |
89 | cnt++; | 89 | cnt++; |
90 | std::string s = ((*i).first); | 90 | Bu::FString s( ((*i).first).c_str(), ((*i).first).size() ); |
91 | ar << s; | 91 | ar << s; |
92 | } | 92 | } |
93 | 93 | ||