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)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -87,9 +87,9 @@ void FG3DCloudsListener::valueChanged( SGPropertyNode * node )
|
|||
FGEnvironmentMgr::FGEnvironmentMgr () :
|
||||
_environment(new FGEnvironment()),
|
||||
_multiplayerListener(nullptr),
|
||||
nearestAirport(nullptr),
|
||||
_sky(globals->get_renderer()->getSky()),
|
||||
nearestCarrier(nullptr),
|
||||
_sky(globals->get_renderer()->getSky())
|
||||
nearestAirport(nullptr)
|
||||
{
|
||||
fgClouds = new FGClouds;
|
||||
_3dCloudsEnableListener = new FG3DCloudsListener(fgClouds);
|
||||
|
|
Loading…
Reference in a new issue