From: curt Date: Tue, 10 Jan 2006 15:06:17 +0000 (+0000) Subject: Fix a compiler warning (member initialization order in constructor.) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ac5e874523dde364fb6d818cf60643c6fa0fa83f;p=flightgear.git Fix a compiler warning (member initialization order in constructor.) --- diff --git a/src/Sound/fg_fx.cxx b/src/Sound/fg_fx.cxx index 9a8fe0a6f..e21a0c2aa 100644 --- a/src/Sound/fg_fx.cxx +++ b/src/Sound/fg_fx.cxx @@ -40,10 +40,10 @@ FGFX::FGFX () : - _volume( fgGetNode("/sim/sound/volume") ), - _pause( fgGetNode("/sim/sound/pause") ), last_pause( true ), - last_volume( 0.0 ) + last_volume( 0.0 ), + _pause( fgGetNode("/sim/sound/pause") ), + _volume( fgGetNode("/sim/sound/volume") ) { }