[Marble-commits] KDE/kdeedu/marble/src/lib

Bertjan Broeksema b.broeksema at home.nl
Wed Aug 19 02:49:46 CEST 2009


SVN commit 1013150 by bbroeksema:

Fix some compile warnings:
- missing end of files
- Constructors of base classes not called explicitly in copy constructor.


 M  +1 -1      geodata/data/GeoDataDocument.cpp  
 M  +2 -1      geodata/data/GeoDataLod.cpp  
 M  +1 -1      geodata/data/GeoDataObject.cpp  
 M  +2 -1      geodata/data/GeoDataRegion.cpp  
 M  +1 -1      gps/TrackPoint.cpp  


--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataDocument.cpp #1013149:1013150
@@ -45,7 +45,7 @@
 }
 
 GeoDataDocument::GeoDataDocument( const GeoDataDocument& other )
-: GeoDataContainer( other )
+    : GeoDocument(), GeoDataContainer( other )
 {
 }
 
--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataLod.cpp #1013149:1013150
@@ -98,4 +98,5 @@
     stream >> d->m_minFadeExtent >> d->m_maxFadeExtent;
 }
 
-}
\ No newline at end of file
+}
+
--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataObject.cpp #1013149:1013150
@@ -46,7 +46,7 @@
 }
 
 GeoDataObject::GeoDataObject( GeoDataObject const & other )
-    : Serializable( other ),
+    : GeoNode(), Serializable( other ),
       d( new GeoDataObjectPrivate( *other.d ) )
 {
 }
--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataRegion.cpp #1013149:1013150
@@ -134,4 +134,5 @@
 }
 
 
-}
\ No newline at end of file
+}
+
--- trunk/KDE/kdeedu/marble/src/lib/gps/TrackPoint.cpp #1013149:1013150
@@ -22,7 +22,7 @@
 
 // FIXME: shouldn't this be ": Waypoint( in )" ?
 TrackPoint::TrackPoint( const TrackPoint & in )
-    :Waypoint ( 0, 0 )
+    : AbstractLayerInterface(), Waypoint ( 0, 0 )
 {
     setPosition( in.position() );
 }


More information about the Marble-commits mailing list