#2969 Add const to currentActiveCellInfo

This commit is contained in:
Magne Sjaastad
2018-05-30 10:22:45 +02:00
parent 76c24a5c8d
commit 54f5ab66b4
7 changed files with 9 additions and 9 deletions

View File

@@ -103,7 +103,7 @@ QString RigReservoirGridTools::gridName(RimCase* rimCase, int gridIndex)
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
RigActiveCellInfo* RigReservoirGridTools::activeCellInfo(Rim3dView* rimView)
const RigActiveCellInfo* RigReservoirGridTools::activeCellInfo(Rim3dView* rimView)
{
RimEclipseView* eclipseView = dynamic_cast<RimEclipseView*>(rimView);
if (eclipseView)

View File

@@ -43,7 +43,7 @@ public:
static const cvf::StructGridInterface* gridByIndex(RimCase* rimCase, int gridIndex);
static QString gridName(RimCase* rimCase, int gridIndex);
static RigActiveCellInfo* activeCellInfo(Rim3dView* rimView);
static const RigActiveCellInfo* activeCellInfo(Rim3dView* rimView);
private:
static RigMainGrid* eclipseMainGrid(RimCase* rimCase);