mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-09 13:37:43 +00:00
IUndoCommand: Make use of explicit on constructors
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user