InsightSoftwareConsortium / ITK

Insight Toolkit (ITK) -- Official Repository. ITK builds on a proven, spatially-oriented architecture for processing, segmentation, and registration of scientific images in two, three, or more dimensions.
https://itk.org
Apache License 2.0
1.47k stars 686 forks source link

void function returning a value #5178

Closed albert-github closed 1 week ago

albert-github commented 2 weeks ago

doxygen gives the warnings:

.../ITK/Modules/Core/FiniteDifference/include/itkFiniteDifferenceImageFilter.h:180: warning: found documented return type for itk::FiniteDifferenceImageFilter::SetDifferenceFunction that does not return anything
.../ITK/Modules/Core/GPUFiniteDifference/include/itkGPUFiniteDifferenceImageFilter.h:89: warning: found documented return type for itk::GPUFiniteDifferenceImageFilter::SetDifferenceFunction that does not return anything

The functions are probably void functions and cannot have a return value (Maybe a value is returned as an argument)