CDeleteSelectionCommand: Make use of explicit on constructor
This commit is contained in:
parent
9936d1ff3a
commit
7baf43f88f
|
@ -47,7 +47,7 @@ class CDeleteSelectionCommand : public IUndoCommand
|
||||||
QVector<SDeletedLink> mDeletedLinks;
|
QVector<SDeletedLink> mDeletedLinks;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CDeleteSelectionCommand(CWorldEditor *pEditor, const QString& rkCommandName = "Delete");
|
explicit CDeleteSelectionCommand(CWorldEditor *pEditor, const QString& rkCommandName = "Delete");
|
||||||
void undo() override;
|
void undo() override;
|
||||||
void redo() override;
|
void redo() override;
|
||||||
bool AffectsCleanState() const override { return true; }
|
bool AffectsCleanState() const override { return true; }
|
||||||
|
|
Loading…
Reference in New Issue