diff options
author | Marc Mutz <marc.mutz@qt.io> | 2022-10-06 11:33:26 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2022-10-06 18:06:26 +0200 |
commit | b3cbf8d925aa2648ccfe8537f29a42c716ee0bce (patch) | |
tree | 94420f6cdc74f72204566b118882ad78733362ed /src | |
parent | 196c460d35bfc6c564f2c6a244a73db0c3c82010 (diff) | |
download | qtimageformats-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