(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

@@ -58,7 +58,7 @@ static double sg_createAbsentValue(double lowestDataValue)
RigWellLogFile::RigWellLogFile()
: cvf::Object()
{
m_wellLogFile = NULL;
m_wellLogFile = nullptr;
}
//--------------------------------------------------------------------------------------------------
@@ -77,7 +77,7 @@ bool RigWellLogFile::open(const QString& fileName, QString* errorMessage)
{
close();
NRLib::Well* well = NULL;
NRLib::Well* well = nullptr;
try
{
@@ -138,7 +138,7 @@ void RigWellLogFile::close()
if (m_wellLogFile)
{
delete m_wellLogFile;
m_wellLogFile = NULL;
m_wellLogFile = nullptr;
}
m_wellLogChannelNames.clear();