summaryrefslogtreecommitdiff
path: root/src/xmlpatterns/expr
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmlpatterns/expr')
-rw-r--r--src/xmlpatterns/expr/qcomparisonplatform_tpl_p.h1
-rw-r--r--src/xmlpatterns/expr/qevaluationcache_tpl_p.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/xmlpatterns/expr/qcomparisonplatform_tpl_p.h b/src/xmlpatterns/expr/qcomparisonplatform_tpl_p.h
index a082292..028cac7 100644
--- a/src/xmlpatterns/expr/qcomparisonplatform_tpl_p.h
+++ b/src/xmlpatterns/expr/qcomparisonplatform_tpl_p.h
@@ -118,7 +118,6 @@ compare(const Item &oand1,
return !comp->equals(oand1, oand2);
case AtomicComparator::OperatorLessThanNaNLeast:
case AtomicComparator::OperatorLessThanNaNGreatest:
- /* Fallthrough. */
case AtomicComparator::OperatorLessThan:
return comp->compare(oand1, op, oand2) == AtomicComparator::LessThan;
case AtomicComparator::OperatorGreaterThan:
diff --git a/src/xmlpatterns/expr/qevaluationcache_tpl_p.h b/src/xmlpatterns/expr/qevaluationcache_tpl_p.h
index d269517..26f53b5 100644
--- a/src/xmlpatterns/expr/qevaluationcache_tpl_p.h
+++ b/src/xmlpatterns/expr/qevaluationcache_tpl_p.h
@@ -141,7 +141,7 @@ Item::Iterator::Ptr EvaluationCache<IsForGlobal>::evaluateSequence(const Dynamic
cell.inUse = true;
cell.sourceIterator = m_operand->evaluateSequence(IsForGlobal ? topFocusContext(context) : context);
cell.cacheState = ItemSequenceCacheCell::PartiallyPopulated;
- /* Fallthrough. */
+ Q_FALLTHROUGH();
}
case ItemSequenceCacheCell::PartiallyPopulated:
{