mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5273 Allen Diagrams: Use const access to Nnc connections
This commit is contained in:
@@ -2239,7 +2239,7 @@ void RigCaseCellResultsData::computeNncCombRiTrans()
|
||||
bool isFaceNormalsOutwards = m_ownerMainGrid->isFaceNormalsOutwards();
|
||||
|
||||
// NNC calculation
|
||||
std::vector<RigConnection>& nncConnections = m_ownerMainGrid->nncData()->connections();
|
||||
const std::vector<RigConnection>& nncConnections = m_ownerMainGrid->nncData()->connections();
|
||||
for ( size_t connIdx = 0; connIdx < nncConnections.size(); connIdx++ )
|
||||
{
|
||||
size_t nativeResvCellIndex = nncConnections[connIdx].m_c1GlobIdx;
|
||||
|
||||
Reference in New Issue
Block a user