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 | |
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 'src')
-rw-r--r-- | src/cache.cpp | 4 | ||||
-rw-r--r-- | src/cache.h | 2 |
2 files changed, 3 insertions, 3 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 | ||
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: | |||
14 | Cache(); | 14 | Cache(); |
15 | virtual ~Cache(); | 15 | virtual ~Cache(); |
16 | 16 | ||
17 | virtual void archive( class Bu::Archive &ar ); | 17 | virtual void archive( class Bu::ArchiveBase &ar ); |
18 | 18 | ||
19 | class Entry | 19 | class Entry |
20 | { | 20 | { |