From: timoore Date: Tue, 24 Jul 2007 05:36:27 +0000 (+0000) Subject: avoid g++ warning about the members being initialized out of order X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a91c194b987b82d4ae5ec4e8809c36e8f47601d6;p=flightgear.git avoid g++ warning about the members being initialized out of order Author: Hans Ulrich Niedermann Committer: Tim Moore --- diff --git a/src/Cockpit/hud.hxx b/src/Cockpit/hud.hxx index 377a1ae53..69759dd4f 100644 --- a/src/Cockpit/hud.hxx +++ b/src/Cockpit/hud.hxx @@ -241,7 +241,7 @@ public: fgText(float x, float y, const string& c, bool digits=false): x(x), y(y), msg( c), digit( digits) {}; fgText( const fgText & image ) - : x(image.x), y(image.y),digit(image.digit), msg( image.msg) { } + : x(image.x), y(image.y), msg(image.msg), digit(image.digit) { } fgText& operator = ( const fgText & image ) { x = image.x; y = image.y; msg= image.msg; digit = image.digit;