[Marble-commits] KDE/kdeedu/marble/src/lib/geodata/scene
Jens-Michael Hoffmann
jensmh at gmx.de
Fri Oct 9 17:55:32 CEST 2009
SVN commit 1033152 by jmhoffmann:
krazy fix: declare member operator== const.
M +1 -1 GeoScenePalette.cpp
M +1 -1 GeoScenePalette.h
--- trunk/KDE/kdeedu/marble/src/lib/geodata/scene/GeoScenePalette.cpp #1033151:1033152
@@ -51,7 +51,7 @@
m_file = file;
}
-bool GeoScenePalette::operator==( const GeoScenePalette& rhs )
+bool GeoScenePalette::operator==( const GeoScenePalette& rhs ) const
{
return m_file == rhs.m_file && m_type == rhs.m_type;
}
--- trunk/KDE/kdeedu/marble/src/lib/geodata/scene/GeoScenePalette.h #1033151:1033152
@@ -44,7 +44,7 @@
QString file() const;
void setFile( const QString& file );
- bool operator==( const GeoScenePalette& rhs );
+ bool operator==( const GeoScenePalette& rhs ) const;
private:
QString m_type;
More information about the Marble-commits
mailing list