From 812485d623f5a58f722f40d14bcd23430c2ac6f9 Mon Sep 17 00:00:00 2001 From: fredb Date: Thu, 4 Dec 2008 08:15:36 +0000 Subject: [PATCH] James Turner : a trivial patch to remove a now obsolete default ctor from FGPositioned --- src/Navaids/positioned.cxx | 5 ----- src/Navaids/positioned.hxx | 3 --- 2 files changed, 8 deletions(-) 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; }; -- 2.39.5