mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-11 00:35:22 -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
@@ -160,12 +160,12 @@ RimScriptCollection * RimScriptCollection::findScriptCollection(const QString& p
|
||||
|
||||
for (size_t i = 0; i < this->subDirectories.size(); ++i)
|
||||
{
|
||||
RimScriptCollection* foundColl = NULL;
|
||||
RimScriptCollection* foundColl = nullptr;
|
||||
if (this->subDirectories[i]) foundColl = this->subDirectories[i]->findScriptCollection(path);
|
||||
if (foundColl) return foundColl;
|
||||
}
|
||||
|
||||
return NULL;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user