Fix some warnings about constructor initialisation order.
This commit is contained in:
parent
837a200811
commit
f7704a0339
2 changed files with 9 additions and 9 deletions
|
@ -28,11 +28,11 @@ class NearestCarrierToNotification : public simgear::Emesary::INotification
|
|||
public:
|
||||
NearestCarrierToNotification(SGGeod _comparisonPosition) : position(),
|
||||
comparisonPosition(_comparisonPosition),
|
||||
distanceMeters(std::numeric_limits<double>::max()),
|
||||
carrier(0),
|
||||
deckheight(0),
|
||||
heading(0),
|
||||
vckts(0)
|
||||
vckts(0),
|
||||
deckheight(0),
|
||||
distanceMeters(std::numeric_limits<double>::max()),
|
||||
carrier(0)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -99,4 +99,4 @@ protected:
|
|||
class FGAICarrier* carrier;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -86,10 +86,10 @@ void FG3DCloudsListener::valueChanged( SGPropertyNode * node )
|
|||
|
||||
FGEnvironmentMgr::FGEnvironmentMgr () :
|
||||
_environment(new FGEnvironment()),
|
||||
_multiplayerListener(nullptr),
|
||||
nearestAirport(nullptr),
|
||||
nearestCarrier(nullptr),
|
||||
_sky(globals->get_renderer()->getSky())
|
||||
_multiplayerListener(nullptr),
|
||||
_sky(globals->get_renderer()->getSky()),
|
||||
nearestCarrier(nullptr),
|
||||
nearestAirport(nullptr)
|
||||
{
|
||||
fgClouds = new FGClouds;
|
||||
_3dCloudsEnableListener = new FG3DCloudsListener(fgClouds);
|
||||
|
|
Loading…
Reference in a new issue