Remove undo function from global namespace

This commit is contained in:
Robin Gareus 2020-02-25 20:09:47 +01:00
parent 7532571fb2
commit aa3f7f2414
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 1 additions and 3 deletions

View File

@ -79,8 +79,6 @@ private:
struct timeval _timestamp;
bool _clearing;
friend void command_death (UndoTransaction*, Command*);
void about_to_explicitly_delete ();
};

View File

@ -52,7 +52,7 @@ UndoTransaction::~UndoTransaction ()
clear ();
}
void
static void
command_death (UndoTransaction* ut, Command* c)
{
if (ut->clearing ()) {