diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-01-10 16:08:03 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-01-12 07:10:25 +0000 |
commit | 9031069e12a9870c61de2fb7bfe3569f8c8859b0 (patch) | |
tree | 5964cdd7cd106ca81be94424cdefc99769d9564f /src/widgets/graphicsview/qsimplex_p.cpp | |
parent | cf7a4016a17615df2952389bae11149a49b151bc (diff) |
Add more Q_FALLTHROUGH()
Silence g++ 7.X warnings.
Change-Id: Id06d06e7e3b5be2cf3934d81f1891da58dea2649
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/widgets/graphicsview/qsimplex_p.cpp')
-rw-r--r-- | src/widgets/graphicsview/qsimplex_p.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/graphicsview/qsimplex_p.cpp b/src/widgets/graphicsview/qsimplex_p.cpp index 1e847489bb..e6ffa856f1 100644 --- a/src/widgets/graphicsview/qsimplex_p.cpp +++ b/src/widgets/graphicsview/qsimplex_p.cpp @@ -209,7 +209,7 @@ bool QSimplex::setConstraints(const QList<QSimplexConstraint *> &newConstraints) surplus->index = ++variableIndex; constraints[i]->helper.first = surplus; constraints[i]->helper.second = -1.0; - // fall through + Q_FALLTHROUGH(); case QSimplexConstraint::Equal: artificial = new QSimplexVariable; constraints[i]->artificial = artificial; |