Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: Fixed coverity warnings in itkImageRegion.h
Coverity 2023.6.2: 275 bool 276 IsInside(const Self & otherRegion) const 277 { >>> CID 331225: Performance inefficiencies (AUTO_CAUSES_COPY) >>> Using the "auto" keyword without an "&" causes the copy of an object of type "itk::ImageRegion<3u>::IndexType". 278 const auto otherIndex = otherRegion.m_Index; 275 bool 276 IsInside(const Self & otherRegion) const 277 { 278 const auto otherIndex = otherRegion.m_Index; >>> CID 331206: Performance inefficiencies (AUTO_CAUSES_COPY) >>> Using the "auto" keyword without an "&" causes the copy of an object of type "itk::ImageRegion<3u>::SizeType". 279 const auto otherSize = otherRegion.m_Size;
- Loading branch information