diff --git a/Modules/Core/Common/src/itkBuildInformation.cxx.in b/Modules/Core/Common/src/itkBuildInformation.cxx.in index ad4cf9026df..6e70541cd56 100644 --- a/Modules/Core/Common/src/itkBuildInformation.cxx.in +++ b/Modules/Core/Common/src/itkBuildInformation.cxx.in @@ -87,7 +87,7 @@ BuildInformation::GetValue(const MapKeyType & key) { return it->second.m_Value; } - return {""}; + return {};; } const BuildInformation::MapValueDescriptionType @@ -100,7 +100,7 @@ BuildInformation::GetDescription(const MapKeyType & key) { return it->second.m_Description; } - return {""}; + return {};; } const std::vector< BuildInformation::MapKeyType > diff --git a/Modules/Core/SpatialObjects/include/itkDTITubeSpatialObjectPoint.hxx b/Modules/Core/SpatialObjects/include/itkDTITubeSpatialObjectPoint.hxx index 60275eca396..22a5e2ce9f3 100644 --- a/Modules/Core/SpatialObjects/include/itkDTITubeSpatialObjectPoint.hxx +++ b/Modules/Core/SpatialObjects/include/itkDTITubeSpatialObjectPoint.hxx @@ -64,7 +64,7 @@ DTITubeSpatialObjectPoint::TranslateEnumToChar(DTITubeSpatialOb // Just fall through. break; } - return { "" }; + return {}; } template diff --git a/Modules/IO/SpatialObjects/src/itkPolygonGroupSpatialObjectXMLFile.cxx b/Modules/IO/SpatialObjects/src/itkPolygonGroupSpatialObjectXMLFile.cxx index 766526e7330..4a4e5b557df 100644 --- a/Modules/IO/SpatialObjects/src/itkPolygonGroupSpatialObjectXMLFile.cxx +++ b/Modules/IO/SpatialObjects/src/itkPolygonGroupSpatialObjectXMLFile.cxx @@ -165,7 +165,7 @@ class NumericTraits static std::string ZeroValue() { - return { "" }; + return {}; } }; diff --git a/Modules/Numerics/Optimizers/src/itkLBFGSOptimizer.cxx b/Modules/Numerics/Optimizers/src/itkLBFGSOptimizer.cxx index deced1e046c..ea8366221b3 100644 --- a/Modules/Numerics/Optimizers/src/itkLBFGSOptimizer.cxx +++ b/Modules/Numerics/Optimizers/src/itkLBFGSOptimizer.cxx @@ -315,6 +315,6 @@ LBFGSOptimizer::GetStopConditionDescription() const return m_StopConditionDescription.str(); } - return { "" }; + return {}; } } // end namespace itk diff --git a/Modules/Numerics/Optimizersv4/src/itkLBFGSOptimizerv4Base.cxx b/Modules/Numerics/Optimizersv4/src/itkLBFGSOptimizerv4Base.cxx index 5d8eb92ac89..e4130368bac 100644 --- a/Modules/Numerics/Optimizersv4/src/itkLBFGSOptimizerv4Base.cxx +++ b/Modules/Numerics/Optimizersv4/src/itkLBFGSOptimizerv4Base.cxx @@ -213,7 +213,7 @@ LBFGSOptimizerBasev4::GetStopConditionDescription() c return m_StopConditionDescription.str(); } - return { "" }; + return {}; } template class ITKOptimizersv4_EXPORT LBFGSOptimizerBasev4;