aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2022-10-06 11:45:46 +0200
committerMarc Mutz <marc.mutz@qt.io>2022-10-07 14:30:52 +0200
commit6e351d5f45c82c0773b7d0731be370793bca30a5 (patch)
treeb1c59f9a511eecda761308db70d2fc76262187e9 /tests
parent76dd96c50d3d7abc810b188df75622159e764f60 (diff)
Port from qAsConst() to std::as_const()
We've been requiring C++17 since Qt 6.0, and our qAsConst use finally starts to bother us (QTBUG-99313), so time to port away from it now. Since qAsConst has exactly the same semantics as std::as_const (down to rvalue treatment, constexpr'ness and noexcept'ness), there's really nothing more to it than a global search-and-replace. Task-number: QTBUG-99313 Change-Id: Ib7233b40047e539a08daece8bbc4576f0ced7026 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions