aboutsummaryrefslogtreecommitdiffstats
path: root/src/checks/level0/README-qmap-with-pointer-key.md
blob: 6fe5ed9645d2e1c2333e7509d030ed05c07299d0 (plain)
1
2
3
4
5
6
7
# qmap-with-pointer-key

Finds cases where you're using `QMap<K,T>` and K is a pointer.

`QMap` has the particularity of sorting it's keys, but sorting by memory
address makes no sense.
Use `QHash` instead, which provides faster lookups.