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

Christoph Feck christoph at maxiom.de
Thu Jan 6 17:06:41 CET 2011


SVN commit 1212350 by cfeck:

SVN_SILENT compile

Note that constant strings should be declared "const char * const",
otherwise they are not placed in a read-only ELF section.

CCMAIL: tackat at kde.org


 M  +1 -1      GeoSceneMap.cpp  


--- trunk/KDE/kdeedu/marble/src/lib/geodata/scene/GeoSceneMap.cpp #1212349:1212350
@@ -47,7 +47,7 @@
     
     const char* nodeType() const
     {
-        GeoSceneTypes::GeoSceneMapType;
+        return GeoSceneTypes::GeoSceneMapType;
     }
 
     /// The vector holding all the sections in the legend.


More information about the Marble-commits mailing list