Skip to content

Commit

Permalink
BUG: MinPriorityQueueElementWrapper constructor needs ZeroValue()
Browse files Browse the repository at this point in the history
  • Loading branch information
Leengit authored and dzenanz committed Oct 6, 2020
1 parent 4427477 commit ce3444c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Modules/Core/Common/include/itkPriorityQueueContainer.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ const TElementIdentifier ElementWrapperPointerInterface<TElement, TElementIdenti
// -----------------------------------------------------------------------------
template <typename TElement, typename TElementPriority, typename TElementIdentifier>
MinPriorityQueueElementWrapper<TElement, TElementPriority, TElementIdentifier>::MinPriorityQueueElementWrapper()
: m_Element(0)
, m_Priority(0)
: m_Element(NumericTraits<TElement>::ZeroValue())
, m_Priority(NumericTraits<TElementPriority>::ZeroValue())
, m_Location(Superclass::m_ElementNotFound)
{}
// -----------------------------------------------------------------------------
Expand Down

0 comments on commit ce3444c

Please sign in to comment.