From c243a02c998f585295f2179657673e2cf0fa4428 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 26 Aug 2010 01:44:11 +0000 Subject: Fix crossfade undo using the stateful diff system. Fixes #3257. git-svn-id: svn://localhost/ardour2/branches/3.0@7694 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/pbd/pbd/command.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libs/pbd/pbd/command.h') diff --git a/libs/pbd/pbd/command.h b/libs/pbd/pbd/command.h index c6c3c8d3fd..db4d2bbd81 100644 --- a/libs/pbd/pbd/command.h +++ b/libs/pbd/pbd/command.h @@ -43,6 +43,10 @@ public: virtual XMLNode &get_state(); virtual int set_state(const XMLNode&, int /*version*/) { /* noop */ return 0; } + virtual bool empty () const { + return false; + } + protected: Command() {} Command(const std::string& name) : _name(name) {} -- cgit v1.2.3