Skip to content

Add KEntryMap::constFindEntry() method

Ahmad Samir requested to merge work/ahmad/constFind into master
  • 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.

Merge request reports