(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

@@ -102,7 +102,7 @@ void RimCellRangeFilterCollection::fieldChangedByUi(const caf::PdmFieldHandle* c
updateIconState();
uiCapability()->updateConnectedEditors();
updateDisplayModeNotifyManagedViews(NULL);
updateDisplayModeNotifyManagedViews(nullptr);
}
//--------------------------------------------------------------------------------------------------
@@ -110,7 +110,7 @@ void RimCellRangeFilterCollection::fieldChangedByUi(const caf::PdmFieldHandle* c
//--------------------------------------------------------------------------------------------------
void RimCellRangeFilterCollection::updateDisplayModeNotifyManagedViews(RimCellRangeFilter* changedRangeFilter)
{
Rim3dView* view = NULL;
Rim3dView* view = nullptr;
firstAncestorOrThisOfType(view);
if (!view) return;
@@ -175,7 +175,7 @@ bool RimCellRangeFilterCollection::hasActiveIncludeFilters() const
//--------------------------------------------------------------------------------------------------
Rim3dView* RimCellRangeFilterCollection::baseView() const
{
Rim3dView* rimView = NULL;
Rim3dView* rimView = nullptr;
firstAncestorOrThisOfType(rimView);
return rimView;