[Marble-commits] KDE/kdeedu/marble/src/lib/geodata/data
Jens-Michael Hoffmann
jensmh at gmx.de
Mon Nov 8 22:42:29 CET 2010
SVN commit 1194386 by jmhoffmann:
GeoDataPlacemarkPrivate: Fix assignment operator to also assign the lookAt member.
M +4 -0 GeoDataPlacemark_p.h
--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataPlacemark_p.h #1194385:1194386
@@ -72,6 +72,10 @@
m_area = other.m_area;
m_population = other.m_population;
m_state = other.m_state;
+
+ GeoDataLookAt * const lookAt = other.m_lookAt ? new GeoDataLookAt( *other.m_lookAt ) : 0;
+ delete m_lookAt;
+ m_lookAt = lookAt;
}
virtual void* copy()
More information about the Marble-commits
mailing list