diff --git a/libs/pbd/stateful_diff_command.cc b/libs/pbd/stateful_diff_command.cc index 6e39e16d75..1ae70294e4 100644 --- a/libs/pbd/stateful_diff_command.cc +++ b/libs/pbd/stateful_diff_command.cc @@ -59,7 +59,7 @@ StatefulDiffCommand::StatefulDiffCommand (std::shared_ptr } } - assert (_changes != 0); + assert (_changes); /* if the stateful object that this command refers to goes away, be sure to notify owners of this command.