SuperElastix / elastix

Official elastix repository
http://elastix.dev
Apache License 2.0
449 stars 110 forks source link

Remove const_cast and static_cast from m_ThreaderMetricParameters and m_ThreaderParameters #1094

Closed N-Dekker closed 2 months ago

N-Dekker commented 2 months ago

These member variables were already declared mutable, so there appears no need at all for those const_cast<void *>(static_cast<const void *>()) casts.

Following C++ Core Guidelines, Avoid casts