diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-04 19:55:27 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-04 19:55:27 -0400 |
commit | 2d941730b1c60342be5b108d2d654723b3b7c2cb (patch) | |
tree | 6a3f4b7305857e85d2684670492007bafc3668d0 /src/entry.h | |
parent | 73cf3b01fbd50c3a8a4fd96ff69643c28394d8fe (diff) | |
download | ledger-2d941730b1c60342be5b108d2d654723b3b7c2cb.tar.gz ledger-2d941730b1c60342be5b108d2d654723b3b7c2cb.tar.bz2 ledger-2d941730b1c60342be5b108d2d654723b3b7c2cb.zip |
Largely removed all of Ledger's use of global variables, for the REPL's sake.
Diffstat (limited to 'src/entry.h')
-rw-r--r-- | src/entry.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/entry.h b/src/entry.h index 37456199..ceea6aed 100644 --- a/src/entry.h +++ b/src/entry.h @@ -135,10 +135,10 @@ public: : entry_base_t(), predicate(other.predicate) { TRACE_CTOR(auto_entry_t, "copy"); } - auto_entry_t(const string& _predicate) + auto_entry_t(const item_predicate<xact_t>& _predicate) : predicate(_predicate) { - TRACE_CTOR(auto_entry_t, "const string&"); + TRACE_CTOR(auto_entry_t, "const item_predicate<xact_t>&"); } virtual ~auto_entry_t() { |