Skip to content

STYLE: Add const to TransformPhysicalPointToIndex results in "Review"#4014

Merged
dzenanz merged 1 commit intoInsightSoftwareConsortium:masterfrom
N-Dekker:Add-const-to-TransformPhysicalPointToIndex-results-Review
Apr 17, 2023
Merged

STYLE: Add const to TransformPhysicalPointToIndex results in "Review"#4014
dzenanz merged 1 commit intoInsightSoftwareConsortium:masterfrom
N-Dekker:Add-const-to-TransformPhysicalPointToIndex-results-Review

Conversation

@N-Dekker
Copy link
Copy Markdown
Contributor

Declared local "IndexType" variables in "Nonunit/Review" that are initialized by the result of a TransformPhysicalPointToIndex(point) call const.

Follow-up to commit 49ece7f "COMP: Fix TransformPhysicalPointToIndex nodiscard warnings"

Suggested by Matt McCormick (@thewtex) at #4000 (comment)

Declared local "IndexType" variables in "Nonunit/Review" that are initialized
by the result of a TransformPhysicalPointToIndex(point) call `const`.

Follow-up to commit 49ece7f
"COMP: Fix TransformPhysicalPointToIndex `nodiscard` warnings"

Suggested by Matt McCormick at
InsightSoftwareConsortium#4000 (comment)
@N-Dekker N-Dekker requested a review from thewtex April 17, 2023 13:44
@github-actions github-actions Bot added the type:Style Style changes: no logic impact (indentation, comments, naming) label Apr 17, 2023
@N-Dekker N-Dekker marked this pull request as ready for review April 17, 2023 15:19
@dzenanz dzenanz merged commit 7c4b827 into InsightSoftwareConsortium:master Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:Style Style changes: no logic impact (indentation, comments, naming)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants