Skip to content

Commit

Permalink
QgsLayoutItemMarker: declare deleted copy constructor and assignment …
Browse files Browse the repository at this point in the history
…operators as the class has pointer member variables
  • Loading branch information
rouault committed May 29, 2020
1 parent e80d6ca commit c44a34d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/layout/qgslayoutitemmarker.h
Expand Up @@ -159,6 +159,9 @@ class CORE_EXPORT QgsLayoutItemMarker : public QgsLayoutItem
QString mRotationMapUuid;
QgsLayoutNorthArrowHandler *mNorthArrowHandler = nullptr;
double mNorthArrowRotation = 0;

QgsLayoutItemMarker( const QgsLayoutItemMarker & ) = delete;
QgsLayoutItemMarker &operator=( const QgsLayoutItemMarker & ) = delete;
};


Expand Down

0 comments on commit c44a34d

Please sign in to comment.