From decb9453006633d191654c54d278f84aecb76ec8 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 11 Nov 2025 12:55:02 -0700 Subject: [PATCH] simpler assert --- libs/pbd/stateful_diff_command.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.