Skip to content

Commit

Permalink
Merge pull request InsightSoftwareConsortium#4667 from andrei-sandor/…
Browse files Browse the repository at this point in the history
…WcppWarnings

COMP: Fixed Cpp Warnings
  • Loading branch information
thewtex authored May 15, 2024
2 parents 9d0dbb9 + 904c7c5 commit 4169e4b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ itkQuadEdgeMeshEulerOperatorSplitEdgeTest(int, char *[])
auto splitEdge = SplitEdge::New();
std::cout << " "
<< "Test No Mesh Input";
if (splitEdge->Evaluate((QEType *)0))
if (splitEdge->Evaluate((QEType *)nullptr))
{
std::cout << "FAILED." << std::endl;
return EXIT_FAILURE;
Expand Down
2 changes: 1 addition & 1 deletion Modules/IO/JPEG/src/itkJPEGImageIO.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ JPEGImageIO::ReadImageInformation()
}
break;
}
// else fallthrough
[[fallthrough]];
default:
m_PixelType = IOPixelEnum::VECTOR;
this->SetNumberOfComponents(cinfo.output_components);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class ObjectToObjectMetricTestMetric : public itk::ObjectToObjectMetricBase
{}

void
Initialize() throw() override
Initialize() noexcept override
{}

void
Expand Down

0 comments on commit 4169e4b

Please sign in to comment.