#1094 Improved constness and use of range based for

This commit is contained in:
Magne Sjaastad
2017-01-27 15:19:18 +01:00
parent 1e20a61d4c
commit 23eeacde37
4 changed files with 43 additions and 32 deletions

View File

@@ -191,7 +191,7 @@ void RimIntersectionCollection::fieldChangedByUi(const caf::PdmFieldHandle* chan
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
bool RimIntersectionCollection::hasActiveIntersectionForSimulationWell(RimEclipseWell* eclipseWell) const
bool RimIntersectionCollection::hasActiveIntersectionForSimulationWell(const RimEclipseWell* eclipseWell) const
{
if (!isActive) return false;