summaryrefslogtreecommitdiff
path: root/valexpr.h
diff options
context:
space:
mode:
Diffstat (limited to 'valexpr.h')
-rw-r--r--valexpr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/valexpr.h b/valexpr.h
index 87367fb0..429a35cf 100644
--- a/valexpr.h
+++ b/valexpr.h
@@ -491,7 +491,8 @@ class item_predicate
}
bool operator()(const T& item) const {
- return ! predicate || predicate->compute(details_t(item));
+ return (! predicate ||
+ predicate->compute(details_t(item)).strip_annotations());
}
};