(clang-tidy) : modernize-use-nullptr

This commit is contained in:
Magne Sjaastad
2018-02-18 18:56:43 +01:00
parent 69875eec8f
commit 1ae30ef11a
195 changed files with 552 additions and 552 deletions

View File

@@ -67,9 +67,9 @@ bool RivEclipseIntersectionGrid::useCell(size_t cellIndex) const
{
const RigCell& cell = m_mainGrid->globalCellArray()[cellIndex];
if (m_showInactiveCells)
return !(cell.isInvalid() || (cell.subGrid() != NULL));
return !(cell.isInvalid() || (cell.subGrid() != nullptr));
else
return m_activeCellInfo->isActive(cellIndex) && (cell.subGrid() == NULL);
return m_activeCellInfo->isActive(cellIndex) && (cell.subGrid() == nullptr);
}
//--------------------------------------------------------------------------------------------------