summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2022-10-06 11:33:26 +0200
committerMarc Mutz <marc.mutz@qt.io>2022-10-06 18:06:26 +0200
commitb3cbf8d925aa2648ccfe8537f29a42c716ee0bce (patch)
tree94420f6cdc74f72204566b118882ad78733362ed /src
parent196c460d35bfc6c564f2c6a244a73db0c3c82010 (diff)
downloadqtimageformats-b3cbf8d925aa2648ccfe8537f29a42c716ee0bce.tar.gz
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: Ie5b276174d8446a6ddbca11a6a8e3e07d3bca675 Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions