diff --git a/tests/qxmppomemodata/tst_qxmppomemodata.cpp b/tests/qxmppomemodata/tst_qxmppomemodata.cpp index 239125798..a3ec95653 100644 --- a/tests/qxmppomemodata/tst_qxmppomemodata.cpp +++ b/tests/qxmppomemodata/tst_qxmppomemodata.cpp @@ -251,7 +251,7 @@ void tst_QXmppOmemoData::testOmemoDeviceBundle() "" "")); - const auto xmls = QVector({ xml1, xml2 }); + QVector xmls = { xml1, xml2 }; QHash expectedPublicPreKeys = { { 1, QByteArray::fromBase64(QByteArrayLiteral("eDM2cnBiTmo4MmRGQ1RYTkZ0YnVwajJtNWdPdzkxZ0gK")) },