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/functionreplace.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/functionreplace.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/functionreplace.cpp b/src/functionreplace.cpp index b341e44..589ef55 100644 --- a/src/functionreplace.cpp +++ b/src/functionreplace.cpp | |||
| @@ -12,14 +12,14 @@ FunctionReplace::~FunctionReplace() | |||
| 12 | { | 12 | { |
| 13 | } | 13 | } |
| 14 | 14 | ||
| 15 | Bu::FString FunctionReplace::getName() const | 15 | Bu::String FunctionReplace::getName() const |
| 16 | { | 16 | { |
| 17 | return "replace"; | 17 | return "replace"; |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | Variable FunctionReplace::call( Variable &input, VarList lParams ) | 20 | Variable FunctionReplace::call( Variable &input, VarList lParams ) |
| 21 | { | 21 | { |
| 22 | Bu::FString sA, sB; | 22 | Bu::String sA, sB; |
| 23 | sA = lParams.first().getString(); | 23 | sA = lParams.first().getString(); |
| 24 | sB = lParams.last().getString(); | 24 | sB = lParams.last().getString(); |
| 25 | switch( input.getType() ) | 25 | switch( input.getType() ) |
