Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix non-virtual destructor
  • Loading branch information
nyalldawson committed Sep 25, 2017
1 parent fb66501 commit a71f2ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/core/layout/qgslayoutundocommand.sip
Expand Up @@ -112,7 +112,7 @@ class QgsLayoutUndoObjectInterface
%End
public:

~QgsLayoutUndoObjectInterface();
virtual ~QgsLayoutUndoObjectInterface();
%Docstring
Destructor for QgsLayoutUndoObjectInterface.
%End
Expand Down
2 changes: 1 addition & 1 deletion src/core/layout/qgslayoutundocommand.h
Expand Up @@ -132,7 +132,7 @@ class CORE_EXPORT QgsLayoutUndoObjectInterface
/**
* Destructor for QgsLayoutUndoObjectInterface.
*/
~QgsLayoutUndoObjectInterface() = default;
virtual ~QgsLayoutUndoObjectInterface() = default;

/**
* Creates a new layout undo command with the specified \a text and \a parent.
Expand Down

0 comments on commit a71f2ad

Please sign in to comment.