aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/doc/codesnippets/doc/src/snippets
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-07-03 17:45:24 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-07-10 19:57:49 +0000
commit3899ed571eb2b453736b3b55a8991df83d33d609 (patch)
tree7d7ac0f3a01a12754c6e2876bf5b8b588f7ddcc3 /sources/pyside2/doc/codesnippets/doc/src/snippets
parent5380a126ad9a6f83a09588df084b0a1a807b604e (diff)
shiboken2: Fix exception handling for C++ 17HEADdev
throw() has been removed in C++17, causing testmodifyfunction to fail for Qt 6. noexcept(false) should be used instead. noexcept() takes a constexpr value, which we cannot easily compute. Add handling for the simple true, false cases by checking the code snippet. Task-number: PYSIDE-904 Change-Id: Icb9f8770d2de2b9f218bfa72e516e360c0cd65aa Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside2/doc/codesnippets/doc/src/snippets')
0 files changed, 0 insertions, 0 deletions