summaryrefslogtreecommitdiff
path: root/predicate.h
diff options
context:
space:
mode:
Diffstat (limited to 'predicate.h')
-rw-r--r--predicate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/predicate.h b/predicate.h
index c9ceb7ae..624d3d65 100644
--- a/predicate.h
+++ b/predicate.h
@@ -59,7 +59,7 @@ public:
TRACE_DTOR(item_predicate);
}
- bool operator()(T& item) const {
+ bool operator()(T& item) {
return ! predicate || predicate.calc(item).strip_annotations();
}
};