Skip to content
Permalink
Browse files

override default destructor

  • Loading branch information
lbartoletti committed Nov 15, 2018
1 parent c292e69 commit fc8f88efe165045cfc5d4d79510e2a66e578d0c3
Showing with 4 additions and 7 deletions.
  1. +2 −5 src/app/qgsmaptooltrimextendfeature.cpp
  2. +2 −2 src/app/qgsmaptooltrimextendfeature.h
@@ -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:
@@ -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();
@@ -19,7 +19,7 @@
#include "qgsmaptooledit.h"
#include "qgis_app.h"
#include "qgspointlocator.h"

#include "qgsrubberband.h"

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

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

void canvasMoveEvent( QgsMapMouseEvent *e ) override;

0 comments on commit fc8f88e

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