make Stateful a virtual base class of StatefulDestructible
This permits dual inheritance from Stateful.
This commit is contained in:
parent
cfb4ed5884
commit
44974c08ea
|
@ -26,7 +26,7 @@
|
|||
namespace PBD {
|
||||
|
||||
/** Base class for objects with saveable and undoable state with destruction notification */
|
||||
class LIBPBD_API StatefulDestructible : public Stateful, virtual public Destructible
|
||||
class LIBPBD_API StatefulDestructible : virtual public Stateful, virtual public Destructible
|
||||
{
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue