avoid g++ warning about the members being initialized out of order
Index: src/Cockpit/hud.hxx
===================================================================
RCS file: /var/cvs/FlightGear-0.9/source/src/Cockpit/hud.hxx,v
retrieving revision 1.38
diff -u -p -r1.38 hud.hxx
--- src/Cockpit/hud.hxx 22 Jan 2007 05:46:51 -0000 1.38
+++ src/Cockpit/hud.hxx 22 Jul 2007 13:46:14 -0000
@@ -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;
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel