diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-01-20 18:21:03 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-01-20 18:21:03 +0000 |
commit | c435c7daa9df1b08dc85132fcd1c154bea9b69e2 (patch) | |
tree | 5537f3c91a67b35c4c8aa918b708b7e4aad8f146 /src/cache.cpp | |
parent | 59690513123de8904eef2a03fe7fcaaed98b1b7b (diff) | |
download | build-c435c7daa9df1b08dc85132fcd1c154bea9b69e2.tar.gz build-c435c7daa9df1b08dc85132fcd1c154bea9b69e2.tar.bz2 build-c435c7daa9df1b08dc85132fcd1c154bea9b69e2.tar.xz build-c435c7daa9df1b08dc85132fcd1c154bea9b69e2.zip |
Fixes to use libbu++ Bu::String
Diffstat (limited to '')
-rw-r--r-- | src/cache.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cache.cpp b/src/cache.cpp index de505b8..d6269e3 100644 --- a/src/cache.cpp +++ b/src/cache.cpp | |||
@@ -15,7 +15,7 @@ Cache::~Cache() | |||
15 | save(); | 15 | save(); |
16 | } | 16 | } |
17 | 17 | ||
18 | void Cache::bind( const Bu::FString &sCacheFile ) | 18 | void Cache::bind( const Bu::String &sCacheFile ) |
19 | { | 19 | { |
20 | this->sCacheFile = sCacheFile; | 20 | this->sCacheFile = sCacheFile; |
21 | load(); | 21 | load(); |
@@ -51,12 +51,12 @@ void Cache::save() | |||
51 | ar << hRequires << hVariables; | 51 | ar << hRequires << hVariables; |
52 | } | 52 | } |
53 | 53 | ||
54 | StrList Cache::getRequires( const Bu::FString &sOutput ) | 54 | StrList Cache::getRequires( const Bu::String &sOutput ) |
55 | { | 55 | { |
56 | return hRequires.get( sOutput ); | 56 | return hRequires.get( sOutput ); |
57 | } | 57 | } |
58 | 58 | ||
59 | void Cache::setRequires( const Bu::FString &sOutput, StrList lReqs ) | 59 | void Cache::setRequires( const Bu::String &sOutput, StrList lReqs ) |
60 | { | 60 | { |
61 | hRequires.insert( sOutput, lReqs ); | 61 | hRequires.insert( sOutput, lReqs ); |
62 | bCacheChanged = true; | 62 | bCacheChanged = true; |