boostorg / gil

Boost.GIL - Generic Image Library | Requires C++14 since Boost 1.80
https://boostorg.github.io/gil
Boost Software License 1.0
178 stars 164 forks source link

fix: Wrong return type of copy_fn and missing typedef in destruct_range #708

Open marco-langer opened 2 years ago

marco-langer commented 2 years ago

Description

This PR fixes some minor issues in algorithm.hpp:

Tasklist

codecov[bot] commented 2 years ago

Codecov Report

Merging #708 (7e87ecd) into develop (573ba13) will decrease coverage by 0.00%. The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop     #708      +/-   ##
===========================================
- Coverage    81.10%   81.10%   -0.01%     
===========================================
  Files          117      117              
  Lines         5171     5170       -1     
===========================================
- Hits          4194     4193       -1     
  Misses         977      977              
marco-langer commented 2 years ago

Is this still a draft?

I wanted to think a second time about these core library changes before rushing them as a last minute change into the next release.

mloskot commented 2 years ago

I agree with your points @marco-langer I also was wondering about the actual redundancy of the std::copy thing. Let's postpone it after 1.80 is out - it's already too late for major changes (other than tweaking internal stuff like CI or CMake configs).