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 163 forks source link

chore: do not use deprecated header in test or elsewhere #675

Closed striezel closed 2 years ago

striezel commented 2 years ago

Description

Replaces the use of the deprecated header <boost/gil/extension/numeric/channel_numeric_operations.hpp> by the newer header <boost/gil/channel_numeric_operations.hpp>. (Move occurred as part of #573.)

This PR also fixes other two instances related to the move + deprecation of headers from the numeric extension.

References

Using the deprecated header causes a warning like

../boost/gil/extension/numeric/channel_numeric_operations.hpp:14:1: warning: This header is deprecated. Use <boost/gil/channel_numeric_operations.hpp> instead. [-W#pragma-messages]
1 warning generated.

Warning occurs when running tests, e. g. here: https://web.archive.org/web/20220518134058/https://www.boost.org/development/tests/develop/output/teeks99-dkr-dc12-20-gil-clang-linux-12~c++20-warnings.html#channel_numeric_operations (archived from the original, because that changes with every new build on the develop branch)

Tasklist