diff options
Diffstat (limited to 'tests/auto/qbluetoothserviceinfo/tst_qbluetoothserviceinfo.cpp')
-rw-r--r-- | tests/auto/qbluetoothserviceinfo/tst_qbluetoothserviceinfo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qbluetoothserviceinfo/tst_qbluetoothserviceinfo.cpp b/tests/auto/qbluetoothserviceinfo/tst_qbluetoothserviceinfo.cpp index f26b9053..fb8b5c4d 100644 --- a/tests/auto/qbluetoothserviceinfo/tst_qbluetoothserviceinfo.cpp +++ b/tests/auto/qbluetoothserviceinfo/tst_qbluetoothserviceinfo.cpp @@ -107,7 +107,7 @@ void tst_QBluetoothServiceInfo::tst_construction() QCOMPARE(serviceInfo.serverChannel(), -1); QCOMPARE(serviceInfo.protocolServiceMultiplexer(), -1); - for (QBluetoothUuid::ProtocolUuid u : qAsConst(protUuids)) + for (QBluetoothUuid::ProtocolUuid u : std::as_const(protUuids)) QCOMPARE(serviceInfo.protocolDescriptor(u).size(), 0); } @@ -141,9 +141,9 @@ void tst_QBluetoothServiceInfo::tst_construction() QCOMPARE(copyInfo.device().address(), alternatedeviceInfo.address()); QCOMPARE(serviceInfo.device().address(), alternatedeviceInfo.address()); - for (QBluetoothUuid::ProtocolUuid u : qAsConst(protUuids)) + for (QBluetoothUuid::ProtocolUuid u : std::as_const(protUuids)) QCOMPARE(serviceInfo.protocolDescriptor(u).size(), 0); - for (QBluetoothUuid::ProtocolUuid u : qAsConst(protUuids)) + for (QBluetoothUuid::ProtocolUuid u : std::as_const(protUuids)) QCOMPARE(copyInfo.protocolDescriptor(u).size(), 0); } } |