JUCE icon indicating copy to clipboard operation
JUCE copied to clipboard

Add nullptr default to all undo-manager arguments in ValueTree

Open ImJimmi opened this issue 1 year ago • 0 comments

Adds default nullptr value for all UndoManager* arguments in public-facing ValueTree methods. Having to explicitly supply the nullptr whenever you interact with a value tree makes code very messy, and is a bit of a code smell, especially for devs who are less familiar with JUCE as it's not at all obvious what that argument is.

Discussed here: https://forum.juce.com/t/fr-default-undomanager-arguments-to-nullptr-in-all-valuetree-methods/51689

ImJimmi avatar Jan 23 '24 14:01 ImJimmi