diff --git a/tests/auto/corelib/text/qbytearrayapisymmetry/tst_qbytearrayapisymmetry.cpp b/tests/auto/corelib/text/qbytearrayapisymmetry/tst_qbytearrayapisymmetry.cpp index 2feb911af6c..55c1e72a3e6 100644 --- a/tests/auto/corelib/text/qbytearrayapisymmetry/tst_qbytearrayapisymmetry.cpp +++ b/tests/auto/corelib/text/qbytearrayapisymmetry/tst_qbytearrayapisymmetry.cpp @@ -1266,7 +1266,7 @@ static QByteArray decNext(QByteArray &&big) while (big.at(i) == '9') big[i--] = '0'; big[i] += 1; - return big; + return std::move(big); } void tst_QByteArrayApiSymmetry::toLongLong_data() const