Skip to content

Commit

Permalink
QgsLayoutItemHtml: declare deleted copy constructor and assignment op…
Browse files Browse the repository at this point in the history
…erators as the class has pointer member variables
  • Loading branch information
rouault committed May 29, 2020
1 parent 73bc0fd commit e80d6ca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/layout/qgslayoutitemhtml.h
Expand Up @@ -273,6 +273,9 @@ class CORE_EXPORT QgsLayoutItemHtml: public QgsLayoutMultiFrame
double maxFrameWidth() const;

void refreshExpressionContext();

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

///@cond PRIVATE
Expand Down

0 comments on commit e80d6ca

Please sign in to comment.