IUndoCommand: Make use of explicit on constructors

This commit is contained in:
Lioncash 2020-07-10 15:53:28 -04:00
parent 71002f4188
commit e1b2d15833
1 changed files with 2 additions and 2 deletions

View File

@ -6,10 +6,10 @@
class IUndoCommand : public QUndoCommand
{
public:
IUndoCommand(QUndoCommand *pParent = 0)
explicit IUndoCommand(QUndoCommand *pParent = nullptr)
: QUndoCommand(pParent) {}
IUndoCommand(const QString& rkText, QUndoCommand *pParent = 0)
explicit IUndoCommand(const QString& rkText, QUndoCommand *pParent = nullptr)
: QUndoCommand(rkText, pParent) {}
virtual bool AffectsCleanState() const = 0;