CDeleteSelectionCommand: Make use of explicit on constructor

This commit is contained in:
Lioncash 2020-07-10 15:25:04 -04:00
parent 9936d1ff3a
commit 7baf43f88f
1 changed files with 1 additions and 1 deletions

View File

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