Disable copy ctor of app::Cmd class

This commit is contained in:
David Capello 2015-01-21 11:15:06 -03:00
parent 6dad428928
commit 140d765c7e

View File

@ -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