diff options
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() ) |