summaryrefslogtreecommitdiff
path: root/src/times.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-02-17 14:30:40 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-02-17 15:06:30 -0600
commit24a993cf004747a59b1099d735dc0bf8cb95c096 (patch)
treec8722da3b882056e209f6b0e999c7aab76d4217f /src/times.cc
parent8f8275733ce7c2a9e134dd455b3c3dad402ad3f1 (diff)
downloadfork-ledger-24a993cf004747a59b1099d735dc0bf8cb95c096.tar.gz
fork-ledger-24a993cf004747a59b1099d735dc0bf8cb95c096.tar.bz2
fork-ledger-24a993cf004747a59b1099d735dc0bf8cb95c096.zip
Fixes for variable shadowing (27/28)
Diffstat (limited to 'src/times.cc')
-rw-r--r--src/times.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/times.cc b/src/times.cc
index d44dd409..4b627c75 100644
--- a/src/times.cc
+++ b/src/times.cc
@@ -611,9 +611,9 @@ class date_parser_t
{
TRACE_CTOR(date_parser_t::lexer_t, "");
}
- lexer_t(const lexer_t& lexer)
- : begin(lexer.begin), end(lexer.end),
- token_cache(lexer.token_cache)
+ lexer_t(const lexer_t& other)
+ : begin(other.begin), end(other.end),
+ token_cache(other.token_cache)
{
TRACE_CTOR(date_parser_t::lexer_t, "copy");
}