Skip to content

Commit 64c794e

Browse files
authored
Merge pull request #6257 from hjmjohnson/shadow-fix-matchcardinality
BUG: Remove redundant m_Threader shadow in MatchCardinalityImageToImageMetric
2 parents 0082640 + 9c3165e commit 64c794e

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

Modules/Registration/Common/include/itkMatchCardinalityImageToImageMetric.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ class ITK_TEMPLATE_EXPORT MatchCardinalityImageToImageMetric : public ImageToIma
130130
MultiThreaderBase *
131131
GetMultiThreader()
132132
{
133-
return m_Threader;
133+
return this->m_Threader;
134134
}
135135

136136
protected:
@@ -183,10 +183,6 @@ class ITK_TEMPLATE_EXPORT MatchCardinalityImageToImageMetric : public ImageToIma
183183
bool m_MeasureMatches{ true };
184184
std::vector<MeasureType> m_ThreadMatches{};
185185
std::vector<SizeValueType> m_ThreadCounts{};
186-
187-
/** Support processing data in multiple threads. Used by subclasses
188-
* (e.g., ImageSource). */
189-
MultiThreaderBase::Pointer m_Threader{ MultiThreaderBase::New() };
190186
};
191187
} // end namespace itk
192188

0 commit comments

Comments
 (0)