diff options
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 | { |