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:
@@ -70,7 +70,7 @@ RimEclipseCellColors::RimEclipseCellColors()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimEclipseCellColors::~RimEclipseCellColors()
|
||||
{
|
||||
CVF_ASSERT(obsoleteField_legendConfig() == NULL);
|
||||
CVF_ASSERT(obsoleteField_legendConfig() == nullptr);
|
||||
|
||||
m_legendConfigData.deleteAllChildObjects();
|
||||
|
||||
@@ -171,7 +171,7 @@ void RimEclipseCellColors::initAfterRead()
|
||||
RimLegendConfig* obsoleteLegend = obsoleteField_legendConfig();
|
||||
|
||||
// set to NULL before pushing into container
|
||||
obsoleteField_legendConfig = NULL;
|
||||
obsoleteField_legendConfig = nullptr;
|
||||
|
||||
m_legendConfigData.push_back(obsoleteLegend);
|
||||
m_legendConfigPtrField = obsoleteLegend;
|
||||
|
||||
Reference in New Issue
Block a user