[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.1/kdeedu/marble
From:       Inge Wallin <inge () lysator ! liu ! se>
Date:       2008-07-19 15:49:35
Message-ID: 1216482575.948258.19808.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 834785 by ingwa:

Reduce warnings: initialize in the right order

 M  +5 -0      ChangeLog  
 M  +3 -3      src/lib/geodata/data/GeoDataPlacemark.cpp  
 M  +2 -2      src/lib/geodata/data/GeoDataPolygon.cpp  
 M  +3 -3      src/lib/geodata/scene/GeoSceneLayer.cpp  


--- branches/KDE/4.1/kdeedu/marble/ChangeLog #834784:834785
@@ -1,5 +1,10 @@
 2008-07-19  Inge Wallin  <inge@lysator.liu.se>
 
+	Reduce warnings: Initialize in the right order.
+	* src/lib/geodata/data/GeoDataPlacemark.cpp (GeoDataPlacemarkPrivate),
+	* src/lib/geodata/data/GeoDataPolygon.cpp (GeoDataPolygonPrivate),
+	* src/lib/geodata/scene/GeoSceneLayer.cpp (GeoSceneLayer): Initialize in the right order.
+
 	Cleanup: Make the d pointer actually be named d.
 	* src/lib/geodata/data/GeoDataPolygon.{h,cpp},
 	* src/lib/geodata/data/GeoDataGeometry.{h,cpp},
--- branches/KDE/4.1/kdeedu/marble/src/lib/geodata/data/GeoDataPlacemark.cpp #834784:834785
@@ -22,9 +22,9 @@
 {
   public:
     GeoDataPlacemarkPrivate()
-        : m_area( -1.0 ),
-          m_population( -1 ),
-          m_geometry( 0 )
+      : m_geometry( 0 ),
+	m_area( -1.0 ),
+	m_population( -1 )
     {
     }
 
--- branches/KDE/4.1/kdeedu/marble/src/lib/geodata/data/GeoDataPolygon.cpp #834784:834785
@@ -19,8 +19,8 @@
 {
  public:
     GeoDataPolygonPrivate()
-         : m_dirtyBox( true ),
-           outer( new GeoDataLinearRing() )
+	: outer( new GeoDataLinearRing() ),
+	  m_dirtyBox( true )
     {
     }
     
--- branches/KDE/4.1/kdeedu/marble/src/lib/geodata/scene/GeoSceneLayer.cpp #834784:834785
@@ -57,10 +57,10 @@
 }
 
 GeoSceneLayer::GeoSceneLayer( const QString& name )
-    : m_name( name ),
+    : m_filter( 0 ),
+      m_name( name ),
       m_backend( "" ),
-      m_role( "" ),
-      m_filter( 0 )
+      m_role( "" )
 {
     /* NOOP */
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic