diff options
Diffstat (limited to 'tests/auto/shared/perfparsertestclient.cpp')
-rw-r--r-- | tests/auto/shared/perfparsertestclient.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/shared/perfparsertestclient.cpp b/tests/auto/shared/perfparsertestclient.cpp index ead19aa..afab9e9 100644 --- a/tests/auto/shared/perfparsertestclient.cpp +++ b/tests/auto/shared/perfparsertestclient.cpp @@ -156,9 +156,9 @@ void PerfParserTestClient::extractTrace(QIODevice *device) SampleEvent sample; stream >> sample.pid >> sample.tid >> sample.time >> sample.cpu >> sample.frames >> sample.numGuessedFrames >> sample.values; - for (qint32 locationId : qAsConst(sample.frames)) + for (qint32 locationId : std::as_const(sample.frames)) checkLocation(locationId); - for (const auto &value : qAsConst(sample.values)) + for (const auto &value : std::as_const(sample.values)) checkAttribute(value.first); if (eventType == TracePointSample) { |