X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FNavaids%2Fwaypoint.cxx;h=aaeedd53c84dbcfc43f38fef9fdd5d96672d09c3;hb=715c48e2d7bda63c8ca8b6960f624dc30d38334c;hp=dd1ae7a96c4afd14838eb97d2a93b4bcd899fdcc;hpb=1b7b69b49874ad369e80222529d5b29bfd863a49;p=flightgear.git diff --git a/src/Navaids/waypoint.cxx b/src/Navaids/waypoint.cxx index dd1ae7a96..aaeedd53c 100644 --- a/src/Navaids/waypoint.cxx +++ b/src/Navaids/waypoint.cxx @@ -24,9 +24,8 @@ #include "waypoint.hxx" #include -#include -#include +#include #include using std::string; @@ -44,13 +43,6 @@ BasicWaypt::BasicWaypt(const SGGeod& aPos, const string& aIdent, RouteBase* aOwn } } -BasicWaypt::BasicWaypt(const SGWayPoint& aWP, RouteBase* aOwner) : - Waypt(aOwner), - _pos(aWP.get_target()), - _ident(aWP.get_id()) -{ -} - BasicWaypt::BasicWaypt(RouteBase* aOwner) : Waypt(aOwner) { @@ -86,7 +78,7 @@ NavaidWaypoint::NavaidWaypoint(FGPositioned* aPos, RouteBase* aOwner) : _navaid(aPos) { if (aPos->type() == FGPositioned::RUNWAY) { - SG_LOG(SG_GENERAL, SG_WARN, "sure you don't want to be building a runway waypt here?"); + SG_LOG(SG_NAVAID, SG_WARN, "sure you don't want to be building a runway waypt here?"); } }