Repository navigation
refactor: cleanup Layer::get_sub_renddesc*() methods - #3455
Merged
Merged
Conversation
Contributor
Author
|
Reasoning on each commit. Also, these remaining methods will be deleted as soon as we remove |
rodolforg
force-pushed
the
refactor-layer-get-sub-renddesc
branch
from
November 22, 2024 09:29
66e8bda to
d26a8ab
Compare
Collaborator
|
Looks good, please rebase. |
No actual Layer implementation override the method that takes a second argument (a vector of renddesc for context)
The default value is always used in code
Nobody fills that vector of RendDesc with more than one item. The vector is always initialized empty, and the filled with a single item - and not in any loop that could push back more items. Even it would have more than one item, only the first one pushed would be used anyway.
rodolforg
force-pushed
the
refactor-layer-get-sub-renddesc
branch
from
January 30, 2025 16:40
d26a8ab to
e7f92d3
Compare
Contributor
Author
|
@ice0 rebased |
ice0
approved these changes
Feb 1, 2025
Collaborator
|
Merged. Thank you! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Some were not override, other have useless parameters.