Remove undo function from global namespace
This commit is contained in:
parent
7532571fb2
commit
aa3f7f2414
@ -79,8 +79,6 @@ private:
|
||||
struct timeval _timestamp;
|
||||
bool _clearing;
|
||||
|
||||
friend void command_death (UndoTransaction*, Command*);
|
||||
|
||||
void about_to_explicitly_delete ();
|
||||
};
|
||||
|
||||
|
@ -52,7 +52,7 @@ UndoTransaction::~UndoTransaction ()
|
||||
clear ();
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
command_death (UndoTransaction* ut, Command* c)
|
||||
{
|
||||
if (ut->clearing ()) {
|
||||
|
Loading…
Reference in New Issue
Block a user