Skip to content

Commit 80b6c68

Browse files
committed
Fix spurious assertion
1 parent 6a55b1e commit 80b6c68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/yup_data_model/undo/yup_UndoManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ class YUP_API UndoManager
265265
: object (object)
266266
, function (std::move (function))
267267
{
268-
jassert (function != nullptr);
268+
jassert (this->function != nullptr);
269269
}
270270

271271
bool perform (UndoableActionState stateToPerform) override

0 commit comments

Comments
 (0)