1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 03:35:53 +01:00

Enable inlining of the "hot" paths

This commit is contained in:
Martin Tůma 2024-05-21 20:55:50 +02:00
parent 6803ee0324
commit 19cda6fbd5

View File

@ -223,18 +223,6 @@ bool GCS::loadList(const QString &path)
return true; return true;
} }
Coordinates GCS::toWGS84(const Coordinates &c) const
{
return datum().toWGS84(Coordinates(_primeMeridian.toGreenwich(c.lon()),
c.lat()));
}
Coordinates GCS::fromWGS84(const Coordinates &c) const
{
Coordinates ds(datum().fromWGS84(c));
return Coordinates(_primeMeridian.fromGreenwich(ds.lon()), ds.lat());
}
QList<KV<int, QString> > GCS::list() QList<KV<int, QString> > GCS::list()
{ {
QList<KV<int, QString> > list; QList<KV<int, QString> > list;