Commit Graph

5 Commits

Author SHA1 Message Date
Roland Winklmeier
ca9a2e5fd1 Fix floating point comparison 2018-08-25 22:12:03 +02:00
Klaus Basan
40cd720e13 Unified compare return value 2018-05-12 21:40:25 +02:00
Roland Winklmeier
11d641bb97 Fix error 'call of overloaded ... is ambiguous'
With Qt 5.9, I got an error when calling compare(BlackMisc::Network::CEntityFlags::Entity,
BlackMisc::Network::CEntityFlags::Entity). The underlying integral type
of an enum is implementation defined and gcc seem to choose an unsigned
int in this case. This made the call ambiguous, since there was no unsigned
int overload yet of compare.
2017-02-25 02:11:20 +00:00
Klaus Basan
b959972e0c refs #707, refactoring geo interfaces
* added compare functions (also to ATC list)
* renamed to relative position, e.g. station.setRelativeDistance
* delegate set/get/compare to correct interface
2016-07-14 18:49:13 +02:00
Klaus Basan
0c94922bd6 refs #501, compareByPropertyIndex (performance for sort) 2015-11-19 21:04:34 +00:00