summaryrefslogtreecommitdiff
path: root/src/predicate.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/predicate.h')
-rw-r--r--src/predicate.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/predicate.h b/src/predicate.h
index dfdcd256..e4cc73a3 100644
--- a/src/predicate.h
+++ b/src/predicate.h
@@ -56,7 +56,6 @@ namespace ledger {
*
* Long.
*/
-template <typename T>
class item_predicate
{
public:
@@ -84,7 +83,7 @@ public:
TRACE_DTOR(item_predicate);
}
- bool operator()(T& item) {
+ bool operator()(scope_t& item) {
return ! predicate || predicate.calc(item).strip_annotations(what_to_keep);
}
};