diff options
Diffstat (limited to 'core/helper/value_evaluator.h')
| -rw-r--r-- | core/helper/value_evaluator.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/helper/value_evaluator.h b/core/helper/value_evaluator.h index 9ea03db4c..e001e1646 100644 --- a/core/helper/value_evaluator.h +++ b/core/helper/value_evaluator.h @@ -34,8 +34,9 @@ class ValueEvaluator : public Object { GDCLASS(ValueEvaluator, Object); + public: - virtual double eval(const String& p_text) { + virtual double eval(const String &p_text) { return p_text.to_double(); } }; |
