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

More refs to eliminate copies #7863

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

Dave-Lowndes
Copy link
Contributor

A few more instances where refs can be used to eliminate unnecessary copies.
In setColorsFromSkin(), auto -> actual type change to eliminate situation where analysers may recommend changing auto's to be a ref, but actually need a copy.

…copies.

In setColorsFromSkin(), auto -> actual type change to eliminate situations where analysers may recommend changing auto's to be a ref, but actually need a copy.
@baconpaul baconpaul merged commit e65f0e0 into surge-synthesizer:main Nov 28, 2024
13 checks passed
@Dave-Lowndes Dave-Lowndes deleted the MoreRefs branch November 28, 2024 23:49
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.

2 participants