From b3325f861b8f331b6f135076b6fd9ea3bb4726ae Mon Sep 17 00:00:00 2001 From: Linus Jahn Date: Tue, 13 Feb 2024 20:46:38 +0100 Subject: [PATCH] tests: omemodata: Fix compilation with Qt 6 and C++17 --- tests/qxmppomemodata/tst_qxmppomemodata.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")) },