mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
RicCellRangeUi. Fix build error. Calling constructor instead of using initializer
This commit is contained in:
parent
c1f8487666
commit
4bef3abda8
@ -82,7 +82,7 @@ void RicCellRangeUi::setCase(RimCase* rimCase)
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
caf::VecIjk RicCellRangeUi::start() const
|
||||
{
|
||||
return caf::VecIjk{m_startIndexI, m_startIndexJ, m_startIndexK};
|
||||
return caf::VecIjk(m_startIndexI, m_startIndexJ, m_startIndexK);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@ -90,7 +90,7 @@ caf::VecIjk RicCellRangeUi::start() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
caf::VecIjk RicCellRangeUi::count() const
|
||||
{
|
||||
return caf::VecIjk{ m_cellCountI, m_cellCountJ, m_cellCountK };
|
||||
return caf::VecIjk(m_cellCountI, m_cellCountJ, m_cellCountK);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@ -79,7 +79,7 @@ int RicExportCarfinUi::maxWellCount() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
caf::VecIjk RicExportCarfinUi::lgrCellCount() const
|
||||
{
|
||||
return caf::VecIjk{m_cellCountI, m_cellCountJ, m_cellCountK};
|
||||
return caf::VecIjk (m_cellCountI, m_cellCountJ, m_cellCountK);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user