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

Jens-Michael Hoffmann jensmh at gmx.de
Fri Aug 14 00:56:07 CEST 2009


SVN commit 1011099 by jmhoffmann:

Declare constructor parameter const.


 M  +1 -1      GeoDataDocument.cpp  
 M  +1 -1      GeoDataDocument.h  


--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataDocument.cpp #1011098:1011099
@@ -39,7 +39,7 @@
 {
 }
 
-GeoDataDocument::GeoDataDocument( GeoDataFeature& other )
+GeoDataDocument::GeoDataDocument( const GeoDataFeature& other )
     : GeoDataContainer( other )
 {
 }
--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataDocument.h #1011098:1011099
@@ -55,7 +55,7 @@
 {
 public:
     GeoDataDocument();
-    GeoDataDocument( GeoDataFeature& other );
+    GeoDataDocument( const GeoDataFeature& other );
     GeoDataDocument( const GeoDataDocument& other );
     ~GeoDataDocument();
 


More information about the Marble-commits mailing list