Skip to content

Make ParzenWindowHistogramImageToImageMetric member functions private, remove virtual#1432

Merged
N-Dekker merged 2 commits into
mainfrom
STYLE-ParzenWindowHistogramImageToImageMetric
Apr 21, 2026
Merged

Make ParzenWindowHistogramImageToImageMetric member functions private, remove virtual#1432
N-Dekker merged 2 commits into
mainfrom
STYLE-ParzenWindowHistogramImageToImageMetric

Conversation

@N-Dekker
Copy link
Copy Markdown
Member

@N-Dekker N-Dekker commented Apr 21, 2026

Two style improvements:

  • Moved 11 member functions from the protected to the private section, to ease readability and improve maintainability.
  • Removed virtual from 7 member functions, following C++ Core Guidelines, "Don’t make a function virtual without reason"

Moved 11 member functions from the protected to the private section, to ease readability and improve maintainability.
Removed virtual from 7 member functions.

Following C++ Core Guidelines, Jul 8, 2025: "Don’t make a function `virtual` without reason", https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#rh-virtual
@N-Dekker N-Dekker merged commit 6fca22c into main Apr 21, 2026
7 of 8 checks passed
@N-Dekker N-Dekker deleted the STYLE-ParzenWindowHistogramImageToImageMetric branch April 21, 2026 10:37
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.

1 participant