(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

@@ -41,7 +41,7 @@ RimFaultInView::RimFaultInView()
CAF_PDM_InitField(&faultColor, "Color", cvf::Color3f(0.588f, 0.588f, 0.804f), "Fault Color", "", "", "");
m_rigFault = NULL;
m_rigFault = nullptr;
}
//--------------------------------------------------------------------------------------------------
@@ -68,7 +68,7 @@ void RimFaultInView::fieldChangedByUi(const caf::PdmFieldHandle* changedField, c
if (&faultColor == changedField || &showFault == changedField)
{
RimEclipseView* reservoirView = NULL;
RimEclipseView* reservoirView = nullptr;
this->firstAncestorOrThisOfType(reservoirView);