From: fredb Date: Thu, 4 Dec 2008 08:15:36 +0000 (+0000) Subject: James Turner : a trivial patch to remove a now obsolete default ctor from FGPositioned X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=812485d623f5a58f722f40d14bcd23430c2ac6f9;p=flightgear.git James Turner : a trivial patch to remove a now obsolete default ctor from FGPositioned --- diff --git a/src/Navaids/positioned.cxx b/src/Navaids/positioned.cxx index a89d28f29..e09f0da2c 100644 --- a/src/Navaids/positioned.cxx +++ b/src/Navaids/positioned.cxx @@ -330,11 +330,6 @@ spatialGetClosest(const SGGeod& aPos, unsigned int aN, double aCutoffNm, const F /////////////////////////////////////////////////////////////////////////////// -FGPositioned::FGPositioned() : - mType(INVALID) -{ -} - FGPositioned::FGPositioned(Type ty, const std::string& aIdent, double aLat, double aLon, double aElev) : mType(ty), mPosition(SGGeod::fromDegFt(aLon, aLat, aElev)), diff --git a/src/Navaids/positioned.hxx b/src/Navaids/positioned.hxx index f6cf3cf37..3c2683506 100644 --- a/src/Navaids/positioned.hxx +++ b/src/Navaids/positioned.hxx @@ -132,9 +132,6 @@ protected: SGGeod mPosition; // can't be const right now -//private: // make private once FGFix and FGRunway are heap-based - FGPositioned(); - Type mType; std::string mIdent; };