[Marble-commits] KDE/kdeedu/marble/src/plugins/render/osmannotate

Jens-Michael Hoffmann jensmh at gmx.de
Fri Jul 31 18:01:55 CEST 2009


SVN commit 1005239 by jmhoffmann:

Fix undefined behaviour, add virtual destructor to abstract base class TextAnnotation.


 M  +4 -0      TextAnnotation.cpp  
 M  +1 -0      TextAnnotation.h  


--- trunk/KDE/kdeedu/marble/src/plugins/render/osmannotate/TextAnnotation.cpp #1005238:1005239
@@ -19,6 +19,10 @@
 {
 }
 
+TextAnnotation::~TextAnnotation()
+{
+}
+
 GeoDataPlacemark TextAnnotation::toGeoData()
 {
     GeoDataPlacemark placemark;
--- trunk/KDE/kdeedu/marble/src/plugins/render/osmannotate/TextAnnotation.h #1005238:1005239
@@ -21,6 +21,7 @@
 {
 public:
     TextAnnotation();
+    virtual ~TextAnnotation();
 
     virtual QString name() = 0 ;
     virtual QString description() = 0;


More information about the Marble-commits mailing list