summaryrefslogtreecommitdiffstats
path: root/src/xmlpatterns/functions/qcomparingaggregator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmlpatterns/functions/qcomparingaggregator.cpp')
-rw-r--r--src/xmlpatterns/functions/qcomparingaggregator.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xmlpatterns/functions/qcomparingaggregator.cpp b/src/xmlpatterns/functions/qcomparingaggregator.cpp
index f9213e1..a032d01 100644
--- a/src/xmlpatterns/functions/qcomparingaggregator.cpp
+++ b/src/xmlpatterns/functions/qcomparingaggregator.cpp
@@ -203,8 +203,9 @@ ComparingAggregator<oper, result>::typeCheck(const StaticContext::Ptr &context,
if(!m_operands.first()->staticType()->cardinality().allowsMany())
return m_operands.first();
-
- prepareComparison(fetchComparator(t1, t1, context));
+
+ // explicit scope needed in RVCT
+ ComparingAggregator<oper, result>::prepareComparison(fetchComparator(t1, t1, context));
return me;
}