I see that qAsConst, used in simulation.cpp and testinternal.cpp, is deprecated as of QT 6.6; is there an argument for retaining this rather than replacing with (C++17) std::as_const()?
testinternal.cpp:135:19: 'qAsConst<QList<simulation::playingFieldStructure *>>' is deprecated: Use std::as_const() instead.
:32:1: note: 'qAsConst<QList<simulation::playingFieldStructure *>>' has been explicitly marked deprecated here
I see that
qAsConst
, used insimulation.cpp
andtestinternal.cpp
, is deprecated as of QT 6.6; is there an argument for retaining this rather than replacing with (C++17)std::as_const()
?