T2345: Replace instances of NULL with nullptr
The following changes have been applied to src and lib folders: regex replace: ([^"_])NULL ⇒ \1nullptr (8968 chgs in src, 1153 in lib) Manually find/change: (void \*) nullptr ⇒ nullptr (1 case) regex find: ".*?nullptr.*?" Manually ~14 cases back to "NULL" in src, ~2 in lib regex finds a few false positive where nullptr appears between two strings in a function call
This commit is contained in:
@ -150,7 +150,7 @@ namespace ATC {
|
||||
temperatureRoc_(atc_->field_roc(TEMPERATURE)),
|
||||
temperature2Roc_(atc_->field_2roc(TEMPERATURE)),
|
||||
nodalAtomicTemperatureOut_(atc_->nodal_atomic_field(TEMPERATURE)),
|
||||
nodalAtomicTemperature_(NULL),
|
||||
nodalAtomicTemperature_(nullptr),
|
||||
temperatureRhs_(atc_->field_rhs(TEMPERATURE)),
|
||||
nodalAtomicPowerOut_(atc_->nodal_atomic_field_roc(TEMPERATURE))
|
||||
{
|
||||
@ -384,7 +384,7 @@ namespace ATC {
|
||||
nodalAtomicEnergyFiltered_(thermalTimeIntegrator->nodal_atomic_energy_filtered()),
|
||||
nodalAtomicPowerFiltered_(thermalTimeIntegrator->nodal_atomic_power_filtered()),
|
||||
atomicTemperatureDelta_(atc_->num_nodes(),1),
|
||||
nodalAtomicEnergy_(NULL),
|
||||
nodalAtomicEnergy_(nullptr),
|
||||
nodalAtomicEnergyOld_(atc_->num_nodes(),1),
|
||||
nodalAtomicTemperatureOld_(atc_->num_nodes(),1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user