Skip to content

Commit

Permalink
QgsLayoutItemPicture: 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 762174d commit 27c8281
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/layout/qgslayoutitempicture.h
Expand Up @@ -367,6 +367,9 @@ class CORE_EXPORT QgsLayoutItemPicture: public QgsLayoutItem

void loadPictureUsingCache( const QString &path );

QgsLayoutItemPicture( const QgsLayoutItemPicture & ) = delete;
QgsLayoutItemPicture &operator=( const QgsLayoutItemPicture & ) = delete;

private slots:

void updateNorthArrowRotation( double rotation );
Expand Down

0 comments on commit 27c8281

Please sign in to comment.