diff options
author | Ahmad Samir <a.samirh78@gmail.com> | 2021-02-23 13:08:15 +0200 |
---|---|---|
committer | Ahmad Samir <a.samirh78@gmail.com> | 2021-02-24 05:38:32 +0000 |
commit | cae1e9b6d2ec957f8bc4643b898308a404d00a5f (patch) | |
tree | 1524789c5d560ff21af3fd54e4bec2007571965c /autotests/test_kconfigutils.cpp | |
parent | 48c132be8aa983165126b0641a083848dd5c6620 (diff) | |
download | kconfig-cae1e9b6d2ec957f8bc4643b898308a404d00a5f.tar.gz kconfig-cae1e9b6d2ec957f8bc4643b898308a404d00a5f.tar.bz2 |
Add KEntryMap::constFindEntry() method
- This has the same logic as QMap::constFind(); less detaching and now we
can use auto keyword when creating iterators and always get a const_iterator
even when calling constFindEntry() on a non-const map.
- Use QCOMPARE() where appropriate in the unit tests.
Diffstat (limited to 'autotests/test_kconfigutils.cpp')
0 files changed, 0 insertions, 0 deletions