diff options
author | Marc Mutz <marc.mutz@qt.io> | 2022-10-06 11:27:34 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2022-10-06 12:01:15 +0200 |
commit | ab666fae82f3c41fdc56220fea6b8bf8b389be9f (patch) | |
tree | ce59373cec2561cc5fb8be09ae92027a4a8e09dc /examples/datavisualization/qmloscilloscope | |
parent | 1a85163e1538e8a8e60c884bb21a5084d6170759 (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: I1992b2cd0624590dacfcf907350ba2ce2f279f05
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'examples/datavisualization/qmloscilloscope')
0 files changed, 0 insertions, 0 deletions