diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2011-01-20 02:14:08 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2011-01-20 02:14:08 +0000 |
| commit | f5aca1a1b402bd7ebc944dc6e6fe65828d863365 (patch) | |
| tree | 4a0fdd8e166d5c4b03543279d332b9a858ef62df /src/archive.h | |
| parent | 10c557562e1d67c55314c212371ea9cb7f802863 (diff) | |
| download | libbu++-f5aca1a1b402bd7ebc944dc6e6fe65828d863365.tar.gz libbu++-f5aca1a1b402bd7ebc944dc6e6fe65828d863365.tar.bz2 libbu++-f5aca1a1b402bd7ebc944dc6e6fe65828d863365.tar.xz libbu++-f5aca1a1b402bd7ebc944dc6e6fe65828d863365.zip | |
Bu::FString is now String, and there's a shell script to fix any other programs
that were using fstring, I hope.
Diffstat (limited to '')
| -rw-r--r-- | src/archive.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/archive.h b/src/archive.h index 9d2aee2..5294c15 100644 --- a/src/archive.h +++ b/src/archive.h | |||
| @@ -111,7 +111,7 @@ namespace Bu | |||
| 111 | void readID( const void *ptr, uint32_t id ); | 111 | void readID( const void *ptr, uint32_t id ); |
| 112 | 112 | ||
| 113 | template<typename t> | 113 | template<typename t> |
| 114 | void setProp( const Bu::FString &sId, const t &val ) | 114 | void setProp( const Bu::String &sId, const t &val ) |
| 115 | { | 115 | { |
| 116 | if( !hProps.has( sId ) ) | 116 | if( !hProps.has( sId ) ) |
| 117 | { | 117 | { |
| @@ -121,7 +121,7 @@ namespace Bu | |||
| 121 | } | 121 | } |
| 122 | 122 | ||
| 123 | template<typename t> | 123 | template<typename t> |
| 124 | t getProp( const Bu::FString &sId ) | 124 | t getProp( const Bu::String &sId ) |
| 125 | { | 125 | { |
| 126 | return hProps.get( sId ); | 126 | return hProps.get( sId ); |
| 127 | } | 127 | } |
| @@ -131,7 +131,7 @@ namespace Bu | |||
| 131 | uint32_t nNextID; | 131 | uint32_t nNextID; |
| 132 | Hash<uint32_t,uint32_t> hPtrID; | 132 | Hash<uint32_t,uint32_t> hPtrID; |
| 133 | Hash<uint32_t,List<void **> > hPtrDest; | 133 | Hash<uint32_t,List<void **> > hPtrDest; |
| 134 | Hash<Bu::FString, Variant> hProps; | 134 | Hash<Bu::String, Variant> hProps; |
| 135 | }; | 135 | }; |
| 136 | } | 136 | } |
| 137 | 137 | ||
