summaryrefslogtreecommitdiffstats
path: root/src/xmlpatterns/functions/qcomparingaggregator.cpp
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-08-19 10:30:16 +0300
committerJanne Anttila <janne.anttila@digia.com>2009-08-19 10:30:16 +0300
commit7f43e476169bdc5b4b29dae4b49642f5e542c0aa (patch)
treecbb3c37e6d6520266181dfe086b9f0a3477af05c /src/xmlpatterns/functions/qcomparingaggregator.cpp
parentc2dd348e4145ae53d25eb6595a03d5140e12e10e (diff)
Fixed xmlpatterns review comments.
In comments it was stated that RVCT version is just fine for all platforms and ifdef are not needed. Also the compilers will really optimize extra temp variables for the other compilers. Reviewed-by: Janne Koskinen
Diffstat (limited to 'src/xmlpatterns/functions/qcomparingaggregator.cpp')
-rw-r--r--src/xmlpatterns/functions/qcomparingaggregator.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/xmlpatterns/functions/qcomparingaggregator.cpp b/src/xmlpatterns/functions/qcomparingaggregator.cpp
index 559b94480d..4fbb0709b3 100644
--- a/src/xmlpatterns/functions/qcomparingaggregator.cpp
+++ b/src/xmlpatterns/functions/qcomparingaggregator.cpp
@@ -204,12 +204,8 @@ ComparingAggregator<oper, result>::typeCheck(const StaticContext::Ptr &context,
if(!m_operands.first()->staticType()->cardinality().allowsMany())
return m_operands.first();
-#if defined(Q_CC_RVCT)
// explicit scope needed in RVCT
ComparingAggregator<oper, result>::prepareComparison(fetchComparator(t1, t1, context));
-#else
- prepareComparison(fetchComparator(t1, t1, context));
-#endif
return me;
}