Skip to content
Permalink
Browse files

modernize (delete default) destructor

  • Loading branch information
lbartoletti committed Oct 3, 2017
1 parent 9b42bde commit 3e8403bba8a2256f27d35a74aad582e50a6da5e2
Showing with 0 additions and 5 deletions.
  1. +0 −4 src/app/qgsmaptoolsquarecenter.cpp
  2. +0 −1 src/app/qgsmaptoolsquarecenter.h
@@ -29,10 +29,6 @@ QgsMapToolSquareCenter::QgsMapToolSquareCenter( QgsMapToolCapture *parentTool,
{
}

QgsMapToolSquareCenter::~QgsMapToolSquareCenter()
{
}

void QgsMapToolSquareCenter::cadCanvasReleaseEvent( QgsMapMouseEvent *e )
{
QgsPoint mapPoint( e->mapPoint() );
@@ -25,7 +25,6 @@ class QgsMapToolSquareCenter: public QgsMapToolAddRegularPolygon

public:
QgsMapToolSquareCenter( QgsMapToolCapture *parentTool, QgsMapCanvas *canvas, CaptureMode mode = CaptureLine );
~QgsMapToolSquareCenter();

void cadCanvasReleaseEvent( QgsMapMouseEvent *e ) override;
void cadCanvasMoveEvent( QgsMapMouseEvent *e ) override;

0 comments on commit 3e8403b

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