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:
@@ -84,7 +84,7 @@ RimFaultInViewCollection::RimFaultInViewCollection()
|
||||
CAF_PDM_InitFieldNoDefault(&faults, "Faults", "Faults", "", "", "");
|
||||
faults.uiCapability()->setUiHidden(true);
|
||||
|
||||
m_reservoirView = NULL;
|
||||
m_reservoirView = nullptr;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -164,7 +164,7 @@ RimFaultInView* RimFaultInViewCollection::findFaultByName(QString name)
|
||||
return this->faults()[i];
|
||||
}
|
||||
}
|
||||
return NULL;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user