summaryrefslogtreecommitdiff
path: root/tests/auto/client/shared/datadevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/client/shared/datadevice.cpp')
-rw-r--r--tests/auto/client/shared/datadevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/client/shared/datadevice.cpp b/tests/auto/client/shared/datadevice.cpp
index 100f937d..26ebec6b 100644
--- a/tests/auto/client/shared/datadevice.cpp
+++ b/tests/auto/client/shared/datadevice.cpp
@@ -7,7 +7,7 @@ namespace MockCompositor {
bool DataDeviceManager::isClean()
{
- for (auto *device : qAsConst(m_dataDevices)) {
+ for (auto *device : std::as_const(m_dataDevices)) {
// The client should not leak selection offers, i.e. if this fails, there is a missing
// data_offer.destroy request
if (!device->m_sentSelectionOffers.empty())