Skip to content

Commit

Permalink
Fix doxygen warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Dec 8, 2015
1 parent 8cac364 commit f13104b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/core/qgsrectangle.cpp
Expand Up @@ -35,7 +35,7 @@ QgsRectangle::QgsRectangle( double newxmin, double newymin, double newxmax, doub
normalize();
}

QgsRectangle::QgsRectangle( QgsPoint const & p1, QgsPoint const & p2 )
QgsRectangle::QgsRectangle( const QgsPoint& p1, const QgsPoint& p2 )
{
set( p1, p2 );
}
Expand Down
6 changes: 3 additions & 3 deletions src/core/raster/qgsrasterlayer.cpp
Expand Up @@ -89,8 +89,8 @@ QgsRasterLayer::QgsRasterLayer()
}

QgsRasterLayer::QgsRasterLayer(
QString const & path,
QString const & baseName,
const QString& path,
const QString& baseName,
bool loadDefaultStyleFlag )
: QgsMapLayer( RasterLayer, baseName, path )
, QSTRING_NOT_SET( "Not Set" )
Expand Down Expand Up @@ -167,7 +167,7 @@ QgsRasterLayer::~QgsRasterLayer()
/**
* This helper checks to see whether the file name appears to be a valid raster file name
*/
bool QgsRasterLayer::isValidRasterFileName( QString const & theFileNameQString, QString & retErrMsg )
bool QgsRasterLayer::isValidRasterFileName( const QString& theFileNameQString, QString& retErrMsg )
{
isvalidrasterfilename_t *pValid = ( isvalidrasterfilename_t * ) cast_to_fptr( QgsProviderRegistry::instance()->function( "gdal", "isValidRasterFileName" ) );
if ( ! pValid )
Expand Down

0 comments on commit f13104b

Please sign in to comment.