mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
initialize QgsFeedback with nullptr by default
This commit is contained in:
parent
f3d42a2cda
commit
09bb55a895
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user