diff options
author | Carl Hetherington <carl@carlh.net> | 2011-01-19 17:38:46 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-01-19 17:38:46 +0000 |
commit | 074d58fc6f97c225e804d32b5d2b8f09e4d512da (patch) | |
tree | 2bb9503a4f03078586607a2a158a8145b1bf4014 /libs/pbd/pbd/undo.h | |
parent | 5535b994d369a8f10bf90c0cf34b522047c1a2f1 (diff) |
Fix undo nesting.
git-svn-id: svn://localhost/ardour2/branches/3.0@8538 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd/pbd/undo.h')
-rw-r--r-- | libs/pbd/pbd/undo.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/pbd/pbd/undo.h b/libs/pbd/pbd/undo.h index fb5152c293..11ff2bf321 100644 --- a/libs/pbd/pbd/undo.h +++ b/libs/pbd/pbd/undo.h @@ -37,6 +37,7 @@ class UndoTransaction : public Command UndoTransaction (); UndoTransaction (const UndoTransaction&); UndoTransaction& operator= (const UndoTransaction&); + ~UndoTransaction (); void clear (); bool empty() const; @@ -66,9 +67,6 @@ class UndoTransaction : public Command friend void command_death (UndoTransaction*, Command *); - friend class UndoHistory; - - ~UndoTransaction (); void about_to_explicitly_delete (); }; |