Skip to content
Permalink
Browse files

Fix non-virtual destructor

  • Loading branch information
nyalldawson committed Sep 25, 2017
1 parent fb66501 commit a71f2ad5dc69df684cdc0d776514928cdc1d0331
Showing with 2 additions and 2 deletions.
  1. +1 −1 python/core/layout/qgslayoutundocommand.sip
  2. +1 −1 src/core/layout/qgslayoutundocommand.h
@@ -112,7 +112,7 @@ class QgsLayoutUndoObjectInterface
%End
public:

~QgsLayoutUndoObjectInterface();
virtual ~QgsLayoutUndoObjectInterface();
%Docstring
Destructor for QgsLayoutUndoObjectInterface.
%End
@@ -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.

0 comments on commit a71f2ad

Please sign in to comment.
You can’t perform that action at this time.