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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user