Skip to content

Commit

Permalink
COMP: Use C++11 nullptr directly.
Browse files Browse the repository at this point in the history
Use C++11 nullptr directly.
  • Loading branch information
jhlegarreta committed Mar 17, 2019
1 parent 4f4f187 commit 5700f69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/itkMetamorphosisImageRegistrationMethodv4.h
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public TimeVaryingVelocityFieldImageRegistrationMethodv4<TFixedImage, TMovingIma

double GetVelocityEnergy();
double GetRateEnergy();
double GetImageEnergy(VirtualImagePointer movingImage, MaskPointer movingMask=ITK_NULLPTR);
double GetImageEnergy(VirtualImagePointer movingImage, MaskPointer movingMask=nullptr);
double GetImageEnergy();
double GetImageEnergyFraction();
double GetEnergy();
Expand Down
2 changes: 1 addition & 1 deletion include/itkWrapExtrapolateImageFunction.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class WrapExtrapolateImageFunction:
void SetInterpolator(InterpolatorType* ptr)
{
m_Interpolator = dynamic_cast<InterpolatorType*>(ptr);
if(ptr != ITK_NULLPTR)
if(ptr != nullptr)
{
m_Interpolator->SetInputImage(this->GetInputImage());
}
Expand Down

0 comments on commit 5700f69

Please sign in to comment.