13
0

make Stateful a virtual base class of StatefulDestructible

This permits dual inheritance from Stateful.
This commit is contained in:
Paul Davis 2023-12-29 09:14:15 -07:00
parent 9d7a87083a
commit 7799adc8db

View File

@ -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
{
};