mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 01:12:11 -05: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
@@ -252,7 +252,7 @@ void RimWellPathCollection::readAndAddWellPaths(std::vector<RimWellPath*>& wellP
|
||||
for (size_t wpIdx = 0; wpIdx < wellPathArray.size(); wpIdx++)
|
||||
{
|
||||
RimWellPath* wellPath = wellPathArray[wpIdx];
|
||||
wellPath->readWellPathFile(NULL, m_wellPathImporter);
|
||||
wellPath->readWellPathFile(nullptr, m_wellPathImporter);
|
||||
|
||||
progress.setProgressDescription(QString("Reading file %1").arg(wellPath->name()));
|
||||
|
||||
@@ -262,7 +262,7 @@ void RimWellPathCollection::readAndAddWellPaths(std::vector<RimWellPath*>& wellP
|
||||
{
|
||||
existingWellPath->filepath = wellPath->filepath;
|
||||
existingWellPath->wellPathIndexInFile = wellPath->wellPathIndexInFile;
|
||||
existingWellPath->readWellPathFile(NULL, m_wellPathImporter);
|
||||
existingWellPath->readWellPathFile(nullptr, m_wellPathImporter);
|
||||
|
||||
// Let name from well path file override name from well log file
|
||||
existingWellPath->setName(wellPath->name());
|
||||
|
||||
Reference in new issue
Block a user