Skip to content

nblend overlay data is const, mark it as such#1916

Merged
zackees merged 1 commit into
FastLED:masterfrom
imwhocodes:const_correctness
Apr 8, 2025
Merged

nblend overlay data is const, mark it as such#1916
zackees merged 1 commit into
FastLED:masterfrom
imwhocodes:const_correctness

Conversation

@imwhocodes

Copy link
Copy Markdown
Contributor

nblend take two buffer: the first (existing) that is used as input/output and a second overlay that as the name imply is overlayed on top of the first one by amountOfOverlay amount

overlay buffer data is never modified, mark the signature as "mutable pointer to const data"

@zackees
zackees merged commit bbaa86d into FastLED:master Apr 8, 2025
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