mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:35:52 +08:00
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
This commit is contained in:
@@ -38,5 +38,9 @@ namespace BlackMisc
|
||||
return a < b ? -10 : 10;
|
||||
}
|
||||
|
||||
int compare(const QDateTime &a, const QDateTime &b)
|
||||
{
|
||||
return Compare::compare(a.toMSecsSinceEpoch(), b.toMSecsSinceEpoch());
|
||||
}
|
||||
} // ns
|
||||
} // ns
|
||||
|
||||
Reference in New Issue
Block a user