Color Range: take span to const color_t

This commit is contained in:
Charles Dang 2024-07-18 15:58:47 -04:00
parent 3cef48fe38
commit 764c50f21a

View file

@ -32,7 +32,7 @@
namespace
{
#ifdef HAVE_CXX20
std::vector<color_t> recolor_range_impl(const color_range& new_range, std::span<color_t> old_rgb)
std::vector<color_t> recolor_range_impl(const color_range& new_range, std::span<const color_t> old_rgb)
#else
template<typename Container>
std::vector<color_t> recolor_range_impl(const color_range& new_range, const Container& old_rgb)