summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2022-12-05 11:12:55 +0100
committerMarc Mutz <marc.mutz@qt.io>2022-12-14 19:07:19 +0100
commite1b76ee928beff434d220c7711ea6798318d367e (patch)
treeed71e360161a78a2586bc8351656c2f672c09796 /src/widgets
parentc262a1805a062fd99abc890f58ea951da80ff0af (diff)
Remove the last in-tree user of qExchange() and mark all of Qt free of it
We've ported all qExchange() to std::exchange by now, across all modules, but the one in QScopedValueRollback was left behind, because it requires C++20's version of std::exchange (constexpr). Since q20::exchange was not approved, replace the qExchange() here with two moves and add a comment to port to std::exchange() once we can depend on C++20. Then add QT_NO_QEXCHANGE to avoid new uses from creeping in. Change-Id: I488e252433e78fb2766639dbe77a22a55196cfd1 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/widgets')
0 files changed, 0 insertions, 0 deletions