Details
-
Suggestion
-
Resolution: Done
-
P2: Important
-
5.6.0 RC
-
None
Description
Not sure how https://bugreports.qt.io/browse/QTBUG-14263 affects this issue as there is a qHash(double) function now anyway.
So this propsal would not create a new problem.
e.g. (But I'm no expert!)
uint qHash(const QGeoCoordinate& c, uint seed = 0) { QtPrivate::QHashCombine hash; seed = hash(seed, c.latitude()); seed = hash(seed, c.longitude()); seed = hash(seed, c.altitude()); return seed; }