From 7799adc8dbe87297ae64faa714a126599b4e2a77 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 29 Dec 2023 09:14:15 -0700 Subject: [PATCH] make Stateful a virtual base class of StatefulDestructible This permits dual inheritance from Stateful. --- libs/pbd/pbd/statefuldestructible.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/pbd/pbd/statefuldestructible.h b/libs/pbd/pbd/statefuldestructible.h index 274457c88f..3881aff97a 100644 --- a/libs/pbd/pbd/statefuldestructible.h +++ b/libs/pbd/pbd/statefuldestructible.h @@ -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 { };