Fix less operator of Completion Data

This commit is contained in:
Jacob Støren
2017-06-01 17:20:04 +02:00
parent 07999a93e7
commit 665ee684b3

View File

@@ -87,10 +87,11 @@ RigCompletionData RigCompletionData::combine(const RigCompletionData& first, con
//==================================================================================================
bool RigCompletionData::operator<(const RigCompletionData& other) const
{
if (m_wellName < other.m_wellName)
{
return true;
if (m_wellName != other.m_wellName)
{
return (m_wellName < other.m_wellName);
}
return m_cellIndex < other.m_cellIndex;
}