Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Sep 30, 2018
1 parent bd5703c commit 113edcc
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 10 deletions.
2 changes: 0 additions & 2 deletions python/analysis/auto_generated/qgsanalysis.sip.in
Expand Up @@ -27,8 +27,6 @@ related to analysis classes.



~QgsAnalysis();

static QgsAnalysis *instance();
%Docstring
Returns a pointer to the singleton instance.
Expand Down
5 changes: 0 additions & 5 deletions src/analysis/qgsanalysis.cpp
Expand Up @@ -48,8 +48,3 @@ QgsAnalysis::QgsAnalysis()
mGeometryCheckRegistry->registerGeometryCheck( new QgsGeometryCheckFactoryT<QgsGeometryOverlapCheck>() );
mGeometryCheckRegistry->registerGeometryCheck( new QgsGeometryCheckFactoryT<QgsGeometryMissingVertexCheck>() );
}

QgsAnalysis::~QgsAnalysis()
{

}
2 changes: 0 additions & 2 deletions src/analysis/qgsanalysis.h
Expand Up @@ -41,8 +41,6 @@ class ANALYSIS_EXPORT QgsAnalysis
//! QgsAnalysis cannot be copied
QgsAnalysis &operator=( const QgsAnalysis &other ) = delete;

~QgsAnalysis();

/**
* Returns a pointer to the singleton instance.
*/
Expand Down
Expand Up @@ -25,7 +25,7 @@ class ANALYSIS_EXPORT QgsGeometryAngleCheck : public QgsGeometryCheck
public:
QgsGeometryAngleCheck( QgsGeometryCheckContext *context, const QVariantMap &configuration )
: QgsGeometryCheck( FeatureNodeCheck, context, configuration )
, mMinAngle( configuration.value( "minAngle", 0.0 ).toDouble() )
, mMinAngle( configuration.value( QStringLiteral( "minAngle" ), 0.0 ).toDouble() )
{}
static QList<QgsWkbTypes::GeometryType> factoryCompatibleGeometryTypes() {return {QgsWkbTypes::LineGeometry, QgsWkbTypes::PolygonGeometry}; }
static bool factoryIsCompatible( QgsVectorLayer *layer ) SIP_SKIP { return factoryCompatibleGeometryTypes().contains( layer->geometryType() ); }
Expand Down

0 comments on commit 113edcc

Please sign in to comment.