]> git.mxchange.org Git - flightgear.git/commitdiff
Fix order of initializers in constructor
authorTim Moore <timoore@redhat.com>
Mon, 24 Aug 2009 15:58:27 +0000 (17:58 +0200)
committerTim Moore <timoore@redhat.com>
Mon, 24 Aug 2009 15:58:27 +0000 (17:58 +0200)
src/FDM/groundcache.cxx

index 6a27268cf65c15d48c48f548efb975e8e2217558..ad56fc90f94ad9c8f7a6a0ad35c8efa2a32ed71e 100644 (file)
@@ -540,9 +540,9 @@ FGGroundCache::get_body(double t, SGMatrixd& bodyToWorld, SGVec3d& linearVel,
 class FGGroundCache::CatapultFinder : public BVHVisitor {
 public:
     CatapultFinder(const SGSphered& sphere, const double& t) :
+        _haveLineSegment(false),
         _sphere(sphere),
-        _time(t),
-        _haveLineSegment(false)
+        _time(t)
     { }
     
     virtual void apply(BVHGroup& leaf)