fixup virtual destructor for Stage, StagePrivate

This commit is contained in:
Robert Haschke 2017-10-28 16:24:02 +02:00
parent 26cf2bc2bb
commit ca99e24742
2 changed files with 2 additions and 1 deletions

View File

@ -67,7 +67,7 @@ class Stage {
public:
PRIVATE_CLASS(Stage)
typedef std::unique_ptr<Stage> pointer;
~Stage();
virtual ~Stage();
/// auto-convert Stage to StagePrivate* when needed
operator StagePrivate*();

View File

@ -34,6 +34,7 @@ class StagePrivate {
public:
typedef std::list<Stage::pointer> container_type;
StagePrivate(Stage* me, const std::string& name);
virtual ~StagePrivate() = default;
InterfaceFlags interfaceFlags() const;