diff options
Diffstat (limited to '')
-rw-r--r-- | src/profile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/profile.cpp b/src/profile.cpp index fd21097..a9c1d5b 100644 --- a/src/profile.cpp +++ b/src/profile.cpp | |||
@@ -35,7 +35,7 @@ Profile::~Profile() | |||
35 | pAst = NULL; | 35 | pAst = NULL; |
36 | } | 36 | } |
37 | 37 | ||
38 | const Bu::FString &Profile::getName() const | 38 | const Bu::String &Profile::getName() const |
39 | { | 39 | { |
40 | return sName; | 40 | return sName; |
41 | } | 41 | } |
@@ -86,7 +86,7 @@ void Profile::setCondition() | |||
86 | { | 86 | { |
87 | if( (*i)->getType() == AstNode::typeCondition ) | 87 | if( (*i)->getType() == AstNode::typeCondition ) |
88 | { | 88 | { |
89 | Bu::FString sCond = dynamic_cast<const AstLeaf *>(*i)->getStrValue(); | 89 | Bu::String sCond = dynamic_cast<const AstLeaf *>(*i)->getStrValue(); |
90 | delete pCond; | 90 | delete pCond; |
91 | pCond = ConditionPlugger::getInstance().instantiate( sCond ); | 91 | pCond = ConditionPlugger::getInstance().instantiate( sCond ); |
92 | } | 92 | } |