summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/undo.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-01-19 17:38:46 +0000
committerCarl Hetherington <carl@carlh.net>2011-01-19 17:38:46 +0000
commit074d58fc6f97c225e804d32b5d2b8f09e4d512da (patch)
tree2bb9503a4f03078586607a2a158a8145b1bf4014 /libs/pbd/pbd/undo.h
parent5535b994d369a8f10bf90c0cf34b522047c1a2f1 (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.h4
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 ();
};