Skip to content

Commit

Permalink
use nullptr instead of 0 pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids authored and nyalldawson committed Aug 7, 2018
1 parent 8876270 commit e51fed4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/quickgui/qgsquickcoordinatetransformer.h
Expand Up @@ -57,7 +57,7 @@ class QUICK_EXPORT QgsQuickCoordinateTransformer : public QObject

public:
//! Creates new coordinate transformer
explicit QgsQuickCoordinateTransformer( QObject *parent = 0 );
explicit QgsQuickCoordinateTransformer( QObject *parent = nullptr );

//!\copydoc QgsQuickCoordinateTransformer::projectedPosition
QgsPoint projectedPosition() const;
Expand Down
2 changes: 1 addition & 1 deletion src/quickgui/qgsquickpositionkit.h
Expand Up @@ -116,7 +116,7 @@ class QUICK_EXPORT QgsQuickPositionKit : public QObject

public:
//! Creates new position kit
explicit QgsQuickPositionKit( QObject *parent = 0 );
explicit QgsQuickPositionKit( QObject *parent = nullptr );

//! \copydoc QgsQuickPositionKit::position
bool hasPosition() const;
Expand Down

0 comments on commit e51fed4

Please sign in to comment.