Skip to content

Commit

Permalink
override default destructor
Browse files Browse the repository at this point in the history
  • Loading branch information
lbartoletti committed Nov 15, 2018
1 parent c292e69 commit fc8f88e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
7 changes: 2 additions & 5 deletions src/app/qgsmaptooltrimextendfeature.cpp
Expand Up @@ -19,14 +19,15 @@
#include "qgsvertexmarker.h"
#include "qgsvectorlayer.h"
#include "qgsgeometry.h"
#include "qgsrubberband.h"
#include "qgssnappingutils.h"
#include "qgstolerance.h"
#include "qgisapp.h"
#include "qgsgeometryutils.h"
#include "qgsmapmouseevent.h"
#include "qgssnapindicator.h"

class QgsRubberBand;

class FeatureFilter : public QgsPointLocator::MatchFilter
{
public:
Expand All @@ -53,10 +54,6 @@ QgsMapToolTrimExtendFeature::QgsMapToolTrimExtendFeature( QgsMapCanvas *canvas )
mToolName = tr( "Trim/Extend feature" );
}

QgsMapToolTrimExtendFeature::~QgsMapToolTrimExtendFeature()
{
}

static void getPoints( const QgsPointLocator::Match &match, QgsPoint &p1, QgsPoint &p2 )
{
const QgsFeatureId fid = match.featureId();
Expand Down
4 changes: 2 additions & 2 deletions src/app/qgsmaptooltrimextendfeature.h
Expand Up @@ -19,7 +19,7 @@
#include "qgsmaptooledit.h"
#include "qgis_app.h"
#include "qgspointlocator.h"

#include "qgsrubberband.h"

class APP_EXPORT QgsMapToolTrimExtendFeature : public QgsMapToolEdit
{
Expand All @@ -28,7 +28,7 @@ class APP_EXPORT QgsMapToolTrimExtendFeature : public QgsMapToolEdit

public:
QgsMapToolTrimExtendFeature( QgsMapCanvas *canvas );
~QgsMapToolTrimExtendFeature() override;
~QgsMapToolTrimExtendFeature() override = default;

void canvasMoveEvent( QgsMapMouseEvent *e ) override;

Expand Down

0 comments on commit fc8f88e

Please sign in to comment.