From d474cacc5fe734b1eba24c576d409de81484b589 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 17 Feb 2012 14:27:56 -0600 Subject: Fixes for variable shadowing (12/28) --- src/exprbase.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/exprbase.h') 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, -- cgit v1.2.3