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

Jens-Michael Hoffmann jensmh at gmx.de
Fri Jul 10 17:51:20 CEST 2009


SVN commit 994466 by jmhoffmann:

Use ctor init list.


 M  +2 -2      GeoSceneFilter.cpp  


--- trunk/KDE/kdeedu/marble/src/lib/geodata/scene/GeoSceneFilter.cpp #994465:994466
@@ -25,9 +25,9 @@
 {
 
 GeoSceneFilter::GeoSceneFilter( const QString& name )
+    : m_name( name ),
+      m_type( "none" )
 {
-    m_name = name;
-    m_type = "none";
 }
 
 GeoSceneFilter::~GeoSceneFilter()


More information about the Marble-commits mailing list