Skip to content

Commit

Permalink
Use QObjectUniquePtr
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn authored and nyalldawson committed Feb 25, 2021
1 parent cedb64f commit 26212d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/vertextool/qgsvertextool.h
Expand Up @@ -24,7 +24,7 @@
#include "qgsmaptooladvanceddigitizing.h"
#include "qgsgeometry.h"
#include "qgspointlocator.h"

#include "qobjectuniqueptr.h"

class QRubberBand;

Expand Down Expand Up @@ -444,7 +444,7 @@ class APP_EXPORT QgsVertexTool : public QgsMapToolAdvancedDigitizing
// support for vertex editor

//! Locked feature for the vertex editor
std::unique_ptr<QgsLockedFeature> mLockedFeature;
QObjectUniquePtr<QgsLockedFeature> mLockedFeature;
//! Dock widget which allows editing vertices
QPointer<QgsVertexEditor> mVertexEditor;

Expand Down

0 comments on commit 26212d2

Please sign in to comment.