mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
AppFwk (clang-tidy) : modernize-use-nullptr
This commit is contained in:
@@ -170,7 +170,7 @@ std::pair<CmdFeature*, size_t> CmdFeatureManager::findExistingCmdFeature(const
|
||||
}
|
||||
else
|
||||
{
|
||||
return std::make_pair(static_cast<CmdFeature*>(NULL), -1);
|
||||
return std::make_pair(static_cast<CmdFeature*>(nullptr), -1);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -191,7 +191,7 @@ caf::CmdFeature* CmdFeatureManager::commandFeature(const std::string& commandId)
|
||||
return item;
|
||||
}
|
||||
|
||||
return NULL;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user