diff options
Diffstat (limited to 'src/exprbase.h')
-rw-r--r-- | src/exprbase.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/exprbase.h b/src/exprbase.h index d86ee14c..46708662 100644 --- a/src/exprbase.h +++ b/src/exprbase.h @@ -121,9 +121,10 @@ public: compiled = false; } - void parse(const string& str, const parse_flags_t& flags = PARSE_DEFAULT) { - std::istringstream stream(str); - return parse(stream, flags, str); + void parse(const string& expr_str, + const parse_flags_t& flags = PARSE_DEFAULT) { + std::istringstream stream(expr_str); + return parse(stream, flags, expr_str); } virtual void parse(std::istream&, const parse_flags_t& = PARSE_DEFAULT, |