]> git.mxchange.org Git - simgear.git/commitdiff
Patch from Cameron Moore:
authordavid <david>
Thu, 18 Jul 2002 20:30:02 +0000 (20:30 +0000)
committerdavid <david>
Thu, 18 Jul 2002 20:30:02 +0000 (20:30 +0000)
* Rearranged member initializers to shut gcc -Wall up

simgear/misc/props.cxx

index ca4bb5281462d1ef99d10a1e72e045904516b494..0af19b435799e79f54772a974c9ae617276d069c 100644 (file)
@@ -652,8 +652,8 @@ SGPropertyNode::SGPropertyNode ()
  * Copy constructor.
  */
 SGPropertyNode::SGPropertyNode (const SGPropertyNode &node)
-  : _index(node._index),
-    _display_name(0),
+  : _display_name(0),
+    _index(node._index),
     _parent(0),                        // don't copy the parent
     _path(0),
     _path_cache(0),