Skip to content

Conversation

@N-Dekker
Copy link
Contributor

Two small style improvements.

N-Dekker added 2 commits July 25, 2025 12:09
Following clang-tidy, which says: "Such use of _const_ is usually superfluous,
and can prevent valuable compiler optimizations."
https://clang.llvm.org/extra/clang-tidy/checks/readability/const-return-type.html
Reduced boilerplate code by returning directly from its `switch` cases.
@N-Dekker N-Dekker marked this pull request as ready for review July 25, 2025 10:58
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.

👍

@thewtex thewtex merged commit 3ea37dd into InsightSoftwareConsortium:main Jul 25, 2025
81 checks passed
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