Skip to content
Permalink
Browse files

initialize QgsFeedback with nullptr by default

  • Loading branch information
alexbruy committed Jul 16, 2017
1 parent f3d42a2 commit 09bb55a8956a905d9c7b1c998a9ada82bdbde32c
@@ -38,7 +38,7 @@ class QgsGraphDirector : QObject
virtual void makeGraph( QgsGraphBuilderInterface *builder,
const QVector< QgsPointXY > &additionalPoints,
QVector< QgsPointXY > &snappedPoints /Out/,
QgsFeedback *feedback ) const;
QgsFeedback *feedback = 0 ) const;
%Docstring
Make a graph using QgsGraphBuilder

@@ -52,7 +52,7 @@ class QgsVectorLayerDirector : QgsGraphDirector
virtual void makeGraph( QgsGraphBuilderInterface *builder,
const QVector< QgsPointXY > &additionalPoints,
QVector< QgsPointXY> &snappedPoints /Out/,
QgsFeedback *feedback ) const;
QgsFeedback *feedback = 0 ) const;
%Docstring
MANDATORY DIRECTOR PROPERTY DECLARATION
%End
@@ -70,7 +70,7 @@ class ANALYSIS_EXPORT QgsGraphDirector : public QObject
virtual void makeGraph( QgsGraphBuilderInterface *builder,
const QVector< QgsPointXY > &additionalPoints,
QVector< QgsPointXY > &snappedPoints SIP_OUT,
QgsFeedback *feedback ) const
QgsFeedback *feedback = nullptr ) const
{
Q_UNUSED( builder );
Q_UNUSED( additionalPoints );
@@ -75,7 +75,7 @@ class ANALYSIS_EXPORT QgsVectorLayerDirector : public QgsGraphDirector
void makeGraph( QgsGraphBuilderInterface *builder,
const QVector< QgsPointXY > &additionalPoints,
QVector< QgsPointXY> &snappedPoints SIP_OUT,
QgsFeedback *feedback ) const override;
QgsFeedback *feedback = nullptr ) const override;

QString name() const override;

0 comments on commit 09bb55a

Please sign in to comment.
You can’t perform that action at this time.