Skip to content

STYLE: Revert C++14 workaround when using the constexpr SupportSize#4603

Merged
thewtex merged 1 commit intoInsightSoftwareConsortium:masterfrom
N-Dekker:Revert-C++14-SupportSize-workaround
May 20, 2024
Merged

STYLE: Revert C++14 workaround when using the constexpr SupportSize#4603
thewtex merged 1 commit intoInsightSoftwareConsortium:masterfrom
N-Dekker:Revert-C++14-SupportSize-workaround

Conversation

@N-Dekker
Copy link
Contributor

C++17 allows using a static constexpr member variable like SupportSize, without being "redeclared". The workaround of copying SupportSize into a local variable is no longer necessary.

Reverts pull request #2742 commit 27e4815
"COMP: Copy BSplineInterpolationWeightFunction::SupportSize within lambda"

C++17 allows using a static constexpr member variable like `SupportSize`,
without being "redeclared". The workaround of copying `SupportSize` into a
local variable is no longer necessary.

Reverts pull request InsightSoftwareConsortium#2742
commit 27e4815
"COMP: Copy BSplineInterpolationWeightFunction::SupportSize within lambda"
@github-actions github-actions bot added area:Core Issues affecting the Core module type:Style Style changes: no logic impact (indentation, comments, naming) labels Apr 21, 2024
@N-Dekker N-Dekker marked this pull request as ready for review April 21, 2024 18:43
Copy link
Member

@thewtex thewtex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please wait until after v5.4.0 to merge.

@thewtex thewtex added this to the ITK 6.0 Beta 1 milestone Apr 21, 2024
@N-Dekker N-Dekker marked this pull request as draft April 22, 2024 08:45
@N-Dekker
Copy link
Contributor Author

👍
Please wait until after v5.4.0 to merge.

Thanks Matt. I think this pull request is ready, but I marked it "draft" to prevent getting merged accidentally, before v5.4.0.

@thewtex
Copy link
Member

thewtex commented Apr 22, 2024

@N-Dekker perfect! 🙏

@thewtex
Copy link
Member

thewtex commented May 20, 2024

@N-Dekker v5.4.0 has been tagged 🚀 🧑‍🎤 -- we can merge these drafts when ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:Core Issues affecting the Core module type:Style Style changes: no logic impact (indentation, comments, naming)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants