mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-28 16:20:50 +00:00
Disable copy ctor of app::Cmd class
This commit is contained in:
parent
6dad428928
commit
140d765c7e
@ -20,6 +20,7 @@
|
||||
#define APP_CMD_H_INCLUDED
|
||||
#pragma once
|
||||
|
||||
#include "base/disable_copying.h"
|
||||
#include "doc/sprite_position.h"
|
||||
#include "undo/undo_command.h"
|
||||
|
||||
@ -55,6 +56,8 @@ namespace app {
|
||||
enum class State { NotExecuted, Executed, Undone, Redone };
|
||||
State m_state;
|
||||
#endif
|
||||
|
||||
DISABLE_COPYING(Cmd);
|
||||
};
|
||||
|
||||
} // namespace app
|
||||
|
Loading…
x
Reference in New Issue
Block a user