diff options
| author | Méven Car <[email protected]> | 2023-09-10 15:19:13 +0200 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2023-09-10 15:19:13 +0200 |
| commit | b58a346be96f7d0973ed96e52c4cf95463ba244d (patch) | |
| tree | 799775ba70d0d9f61f2d400ad1b46227979dec26 /src/tests/kitemsettest.cpp | |
| parent | 5a7b749f5b524f771c549774de4783f014664135 (diff) | |
Replace qAsConst with std::as_const
Diffstat (limited to 'src/tests/kitemsettest.cpp')
| -rw-r--r-- | src/tests/kitemsettest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/kitemsettest.cpp b/src/tests/kitemsettest.cpp index e0c536c67..0005daceb 100644 --- a/src/tests/kitemsettest.cpp +++ b/src/tests/kitemsettest.cpp @@ -66,11 +66,11 @@ static QSet<int> KItemSet2QSet(const KItemSet &itemSet) // Check that the conversion was successful. Q_ASSERT(itemSet.count() == result.count()); - for (int i : qAsConst(itemSet)) { + for (int i : std::as_const(itemSet)) { Q_ASSERT(result.contains(i)); } - for (int i : qAsConst(result)) { + for (int i : std::as_const(result)) { Q_ASSERT(itemSet.contains(i)); } |
