X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fpbd%2Fpbd%2Fundo.h;h=11ff2bf321b806106001ce8a9f27d768b890c86a;hb=6b1659a29bb9b5c4a31cb0aec371842df0585034;hp=fb5152c29312aad1f29d86479f87cbed6f8c8edc;hpb=f4401c59284258c6aa56707da64e3da32756329f;p=ardour.git 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 (); };