RicCellRangeUi. Fix build error. Calling constructor instead of using initializer

This commit is contained in:
Bjørn Erik Jensen 2017-12-05 15:00:54 +01:00
parent c1f8487666
commit 4bef3abda8
2 changed files with 3 additions and 3 deletions

View File

@ -82,7 +82,7 @@ void RicCellRangeUi::setCase(RimCase* rimCase)
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
caf::VecIjk RicCellRangeUi::start() const 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 caf::VecIjk RicCellRangeUi::count() const
{ {
return caf::VecIjk{ m_cellCountI, m_cellCountJ, m_cellCountK }; return caf::VecIjk(m_cellCountI, m_cellCountJ, m_cellCountK);
} }
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------

View File

@ -79,7 +79,7 @@ int RicExportCarfinUi::maxWellCount() const
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
caf::VecIjk RicExportCarfinUi::lgrCellCount() const caf::VecIjk RicExportCarfinUi::lgrCellCount() const
{ {
return caf::VecIjk{m_cellCountI, m_cellCountJ, m_cellCountK}; return caf::VecIjk (m_cellCountI, m_cellCountJ, m_cellCountK);
} }
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------