Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add nullptr default to all undo-manager arguments in ValueTree #1333

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

ImJimmi
Copy link
Contributor

@ImJimmi ImJimmi commented Jan 23, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant