Skip to content
Permalink
Browse files
Make QgsVectorLayerImport protected members private
This class isn't designed to be subclassed
  • Loading branch information
nyalldawson committed May 6, 2017
1 parent 83baf9e commit 80d2240
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 21 deletions.
@@ -117,24 +117,6 @@ Retrieves error message
Close the new created layer
%End

protected:
bool flushBuffer();
%Docstring
Flush the buffer writing the features to the new layer
:rtype: bool
%End

bool createSpatialIndex();
%Docstring
Create index
:rtype: bool
%End






private:
QgsVectorLayerImport( const QgsVectorLayerImport &rh );
};
@@ -121,7 +121,7 @@ class CORE_EXPORT QgsVectorLayerImport : public QgsFeatureSink
//! Close the new created layer
~QgsVectorLayerImport();

protected:
private:
//! Flush the buffer writing the features to the new layer
bool flushBuffer();

@@ -143,8 +143,6 @@ class CORE_EXPORT QgsVectorLayerImport : public QgsFeatureSink
QgsFeatureList mFeatureBuffer;
QProgressDialog *mProgress = nullptr;

private:

#ifdef SIP_RUN
QgsVectorLayerImport( const QgsVectorLayerImport &rh );
#endif

0 comments on commit 80d2240

Please sign in to comment.