Browse Source

reorder initializers to prevent gcc compiler warning

David Rose 21 years ago
parent
commit
29333d2966
1 changed files with 4 additions and 4 deletions
  1. 4 4
      panda/src/pgraph/polylightEffect.I

+ 4 - 4
panda/src/pgraph/polylightEffect.I

@@ -35,10 +35,10 @@ PolylightEffect() {
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 INLINE PolylightEffect::
 INLINE PolylightEffect::
 PolylightEffect(const PolylightEffect &copy) :
 PolylightEffect(const PolylightEffect &copy) :
-_lightgroup(copy._lightgroup),
-_effect_center(copy._effect_center),
-_contribution_type(copy._contribution_type),
-_weight(copy._weight)
+  _contribution_type(copy._contribution_type),
+  _weight(copy._weight),
+  _lightgroup(copy._lightgroup),
+  _effect_center(copy._effect_center)
 {
 {
 }
 }