diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-03-29 12:59:19 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-03-30 22:16:47 +0000 |
commit | f799a226b1025bf7158bc00dff35ee060f57a137 (patch) | |
tree | 409168c9cc203681029ba2295bb54e4a24381257 /src/xmlpatterns/expr/qevaluationcache_tpl_p.h | |
parent | 2e07221d52162231755d1bd521478a899f47da19 (diff) | |
download | qtxmlpatterns-f799a226b1025bf7158bc00dff35ee060f57a137.tar.gz |
Cleanup implicit fallthroughs in xmlpatterns5.8
Use Q_FALLTHOUGH instead of comments, and use it consistently.
Change-Id: Ieaf4867b612e624774011275b90cdd3678a29fe9
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/xmlpatterns/expr/qevaluationcache_tpl_p.h')
-rw-r--r-- | src/xmlpatterns/expr/qevaluationcache_tpl_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
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: { |