(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

@@ -52,7 +52,7 @@ void RicNewSimWellIntersectionFeature::onActionTriggered(bool isChecked)
RimSimWellInView* simWell = collection[0];
RimEclipseView* eclView = NULL;
RimEclipseView* eclView = nullptr;
simWell->firstAncestorOrThisOfType(eclView);
CVF_ASSERT(eclView);
@@ -73,7 +73,7 @@ void RicNewSimWellIntersectionFeature::setupActionLook(QAction* actionToSetup)
///
//--------------------------------------------------------------------------------------------------
RicNewSimWellIntersectionCmd::RicNewSimWellIntersectionCmd(RimIntersectionCollection* intersectionCollection, RimSimWellInView* simWell)
: CmdExecuteCommand(NULL),
: CmdExecuteCommand(nullptr),
m_intersectionCollection(intersectionCollection),
m_simWell(simWell)
{