Skip to content

Commit

Permalink
COMP: Need to explicitly define std::min<> template values
Browse files Browse the repository at this point in the history
  • Loading branch information
hjmjohnson committed Feb 12, 2020
1 parent afacde6 commit d8879be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ RelabelComponentImageFilter<TInputImage, TOutputImage>::PrintSelf(std::ostream &
SizeValueType i;

// limit the number of objects to print
SizeValueType numPrint = std::min(m_NumberOfObjectsToPrint, m_SizeOfObjectsInPixels.size());
SizeValueType numPrint = std::min<SizeValueType>(m_NumberOfObjectsToPrint, m_SizeOfObjectsInPixels.size());

for (i = 0, it = m_SizeOfObjectsInPixels.begin(), fit = m_SizeOfObjectsInPhysicalUnits.begin(); i < numPrint;
++it, ++fit, ++i)
Expand Down

0 comments on commit d8879be

Please sign in to comment.