diff --git a/ApplicationCode/Commands/ExportCommands/RicCellRangeUi.cpp b/ApplicationCode/Commands/ExportCommands/RicCellRangeUi.cpp index ab82bc781d..1af2e4833b 100644 --- a/ApplicationCode/Commands/ExportCommands/RicCellRangeUi.cpp +++ b/ApplicationCode/Commands/ExportCommands/RicCellRangeUi.cpp @@ -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); } //-------------------------------------------------------------------------------------------------- diff --git a/ApplicationCode/Commands/ExportCommands/RicExportCarfinUi.cpp b/ApplicationCode/Commands/ExportCommands/RicExportCarfinUi.cpp index 6940367e9e..11e8e15455 100644 --- a/ApplicationCode/Commands/ExportCommands/RicExportCarfinUi.cpp +++ b/ApplicationCode/Commands/ExportCommands/RicExportCarfinUi.cpp @@ -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); } //--------------------------------------------------------------------------------------------------