summaryrefslogtreecommitdiff
path: root/src/query.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-02-17 14:30:04 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-02-17 15:06:25 -0600
commit5455b124545a1a6cd991f10640087ed5279197d2 (patch)
tree68d6d0e5732833163cfc6b2ba2f38459f065c77b /src/query.h
parent31738bddff2ec868ab0c6167cba77d5814f817d4 (diff)
downloadfork-ledger-5455b124545a1a6cd991f10640087ed5279197d2.tar.gz
fork-ledger-5455b124545a1a6cd991f10640087ed5279197d2.tar.bz2
fork-ledger-5455b124545a1a6cd991f10640087ed5279197d2.zip
Fixes for variable shadowing (23/28)
Diffstat (limited to 'src/query.h')
-rw-r--r--src/query.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/query.h b/src/query.h
index aca31b61..e77e64ab 100644
--- a/src/query.h
+++ b/src/query.h
@@ -269,8 +269,8 @@ protected:
what_to_keep(_what_to_keep) {
TRACE_CTOR(query_t::parser_t, "value_t, keep_details_t, bool");
}
- parser_t(const parser_t& parser)
- : args(parser.args), lexer(parser.lexer) {
+ parser_t(const parser_t& other)
+ : args(other.args), lexer(other.lexer) {
TRACE_CTOR(query_t::parser_t, "copy");
}
~parser_t() throw() {