mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(clang-tidy) : modernize-use-nullptr
This commit is contained in:
@@ -359,7 +359,7 @@ void RigNumberOfFloodedPoreVolumesCalculator::distributeNeighbourCellFlow(RigMai
|
||||
|
||||
if (!actCellInfo->isActive(reservoirCellIndexPosINeighbour)) continue;
|
||||
|
||||
if (hostGrid->cell(gridLocalCellIndexPosINeighbour).subGrid() != NULL)
|
||||
if (hostGrid->cell(gridLocalCellIndexPosINeighbour).subGrid() != nullptr)
|
||||
{
|
||||
//subgrid exists in cell, will be handled though NNCs
|
||||
continue;
|
||||
@@ -385,7 +385,7 @@ void RigNumberOfFloodedPoreVolumesCalculator::distributeNeighbourCellFlow(RigMai
|
||||
|
||||
if (!actCellInfo->isActive(reservoirCellIndexPosJNeighbour)) continue;
|
||||
|
||||
if (hostGrid->cell(gridLocalCellIndexPosJNeighbour).subGrid() != NULL)
|
||||
if (hostGrid->cell(gridLocalCellIndexPosJNeighbour).subGrid() != nullptr)
|
||||
{
|
||||
//subgrid exists in cell, will be handled though NNCs
|
||||
continue;
|
||||
@@ -412,7 +412,7 @@ void RigNumberOfFloodedPoreVolumesCalculator::distributeNeighbourCellFlow(RigMai
|
||||
|
||||
if (!actCellInfo->isActive(reservoirCellIndexPosKNeighbour)) continue;
|
||||
|
||||
if (hostGrid->cell(gridLocalCellIndexPosKNeighbour).subGrid() != NULL)
|
||||
if (hostGrid->cell(gridLocalCellIndexPosKNeighbour).subGrid() != nullptr)
|
||||
{
|
||||
//subgrid exists in cell, will be handled though NNCs
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user