File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 21
21
#include " qgspointlocator.h"
22
22
#include " qgscompoundcurve.h"
23
23
#include " qgsgeometry.h"
24
+ #include " qobjectuniqueptr"
24
25
25
26
#include < QPoint>
26
27
#include < QList>
@@ -263,10 +264,10 @@ class GUI_EXPORT QgsMapToolCapture : public QgsMapToolAdvancedDigitizing
263
264
bool mCapturing = false ;
264
265
265
266
// ! Rubber band for polylines and polygons
266
- std::unique_ptr <QgsRubberBand> mRubberBand ;
267
+ QObjectUniquePtr <QgsRubberBand> mRubberBand ;
267
268
268
269
// ! Temporary rubber band for polylines and polygons. this connects the last added point to the mouse cursor position
269
- std::unique_ptr <QgsRubberBand> mTempRubberBand ;
270
+ QObjectUniquePtr <QgsRubberBand> mTempRubberBand ;
270
271
271
272
// ! List to store the points of digitized lines and polygons (in layer coordinates)
272
273
QgsCompoundCurve mCaptureCurve ;
You can’t perform that action at this time.
0 commit comments