mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-04 13:16:56 -06:00
(clang-tidy) : modernize-use-nullptr
This commit is contained in:
1 parent
69875eec8f
commit
1ae30ef11a
195 files changed
+552
-552
No files matched your search
@@ -103,7 +103,7 @@ bool RimEclipseInputCase::openDataFileSet(const QStringList& fileNames)
|
||||
return true;
|
||||
}
|
||||
|
||||
if (this->eclipseCaseData() == NULL)
|
||||
if (this->eclipseCaseData() == nullptr)
|
||||
{
|
||||
this->setReservoirData(new RigEclipseCaseData(this));
|
||||
}
|
||||
@@ -181,7 +181,7 @@ bool RimEclipseInputCase::openDataFileSet(const QStringList& fileNames)
|
||||
bool RimEclipseInputCase::openEclipseGridFile()
|
||||
{
|
||||
// Early exit if reservoir data is created
|
||||
if (this->eclipseCaseData() == NULL)
|
||||
if (this->eclipseCaseData() == nullptr)
|
||||
{
|
||||
cvf::ref<RifReaderInterface> readerInterface;
|
||||
|
||||
|
||||
Reference in new issue
Block a user