mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-07-01 19:03:36 +00:00
IUndoCommand: Make use of explicit on constructors
This commit is contained in:
parent
71002f4188
commit
e1b2d15833
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user