s/qAsConst/std::as_const/
We now definitely has std::as_const available and Qt has started nagging about converting to std::as_const.
Implementation is the same for both functions, and qAsConst was a stop-gap measure until std::as_const was sufficiently available.