summaryrefslogtreecommitdiff
path: root/src/entry.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-15 20:56:48 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-15 20:56:48 -0400
commit78e57ac4cfe60147051f0a04e82c19174a86f899 (patch)
tree804c42c86374dc4543872b9460886616498780dd /src/entry.h
parent5d4ac679201fd45f7a780ca1b7920682db69d62e (diff)
downloadledger-78e57ac4cfe60147051f0a04e82c19174a86f899.tar.gz
ledger-78e57ac4cfe60147051f0a04e82c19174a86f899.tar.bz2
ledger-78e57ac4cfe60147051f0a04e82c19174a86f899.zip
item_predicate now operates on scope_t
This means item_predicate is no longer a template.
Diffstat (limited to 'src/entry.h')
-rw-r--r--src/entry.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/entry.h b/src/entry.h
index ceea6aed..726b0c51 100644
--- a/src/entry.h
+++ b/src/entry.h
@@ -126,7 +126,7 @@ struct entry_finalizer_t {
class auto_entry_t : public entry_base_t
{
public:
- item_predicate<xact_t> predicate;
+ item_predicate predicate;
auto_entry_t() {
TRACE_CTOR(auto_entry_t, "");
@@ -135,7 +135,7 @@ public:
: entry_base_t(), predicate(other.predicate) {
TRACE_CTOR(auto_entry_t, "copy");
}
- auto_entry_t(const item_predicate<xact_t>& _predicate)
+ auto_entry_t(const item_predicate& _predicate)
: predicate(_predicate)
{
TRACE_CTOR(auto_entry_t, "const item_predicate<xact_t>&");