diff options
author | John Wiegley <johnw@newartisans.com> | 2012-02-17 14:27:56 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-02-17 15:06:10 -0600 |
commit | d474cacc5fe734b1eba24c576d409de81484b589 (patch) | |
tree | 1816c90438cccbaddc838ac8c7c8ce8700483f73 /src/exprbase.h | |
parent | d5401367b884d39f90d3baf840cf283da413eaf5 (diff) | |
download | fork-ledger-d474cacc5fe734b1eba24c576d409de81484b589.tar.gz fork-ledger-d474cacc5fe734b1eba24c576d409de81484b589.tar.bz2 fork-ledger-d474cacc5fe734b1eba24c576d409de81484b589.zip |
Fixes for variable shadowing (12/28)
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, |