[Marble-commits] KDE/kdeedu/marble/src/lib
Jens-Michael Hoffmann
jensmh at gmx.de
Sun Jan 31 11:11:29 CET 2010
SVN commit 1082720 by jmhoffmann:
AbstractTile::setCreated: pass argument by reference to const instead of by value.
M +1 -1 AbstractTile.cpp
M +1 -1 AbstractTile.h
--- trunk/KDE/kdeedu/marble/src/lib/AbstractTile.cpp #1082719:1082720
@@ -84,7 +84,7 @@
return d->m_created;
}
-void AbstractTile::setCreated( QDateTime created )
+void AbstractTile::setCreated( const QDateTime &created )
{
Q_D( AbstractTile );
d->m_created = created;
--- trunk/KDE/kdeedu/marble/src/lib/AbstractTile.h #1082719:1082720
@@ -59,7 +59,7 @@
void setState( TileState state );
const QDateTime & created() const;
- void setCreated( QDateTime created );
+ void setCreated( const QDateTime &created );
protected:
AbstractTilePrivate * const d_ptr;
More information about the Marble-commits
mailing list