Skip to content

Fix [-Wrange-loop-construct] compilation warnings from clang10

Marco Cattaneo requested to merge fix-clang10Warnings-run2 into run2-patches

Fixes warnings like

warning: loop variable 'P' of type 'const Rich::HPDImage::Pixel' creates a copy from type 'const Rich::HPDImage::Pixel' [-Wrange-loop-construct]
      for ( const auto P : boundary ) { fitter.addPoint( (double)P.col, (double)P.row ); }
                       ^

@jonrob FYI

Merge request reports