use nullptr not zero

This commit is contained in:
Paul Davis
2025-11-11 12:52:38 -07:00
parent 99aab0179d
commit a1d5294af5

View File

@@ -34,7 +34,7 @@ using namespace PBD;
StatefulDiffCommand::StatefulDiffCommand (std::shared_ptr<StatefulDestructible> s)
: _object (s)
, _changes (0)
, _changes (nullptr)
{
_changes = s->get_changes_as_properties (this);
@@ -47,7 +47,7 @@ StatefulDiffCommand::StatefulDiffCommand (std::shared_ptr<StatefulDestructible>
StatefulDiffCommand::StatefulDiffCommand (std::shared_ptr<StatefulDestructible> s, XMLNode const& n)
: _object (s)
, _changes (0)
, _changes (nullptr)
{
const XMLNodeList& children (n.children ());