fix naming clash (color_blind_filter)
This commit is contained in:
parent
cca2a33acd
commit
5aaf82b1b5
1 changed files with 4 additions and 4 deletions
|
@ -678,7 +678,7 @@ void apply_filter(Src & src, scale_hsla const& transform)
|
|||
}
|
||||
|
||||
template <typename Src, typename ColorBlindFilter>
|
||||
void color_blind_filter(Src & src, ColorBlindFilter const& op)
|
||||
void apply_color_blind_filter(Src & src, ColorBlindFilter const& op)
|
||||
{
|
||||
using namespace boost::gil;
|
||||
rgba8_view_t src_view = rgba8_view(src);
|
||||
|
@ -801,19 +801,19 @@ void color_blind_filter(Src & src, ColorBlindFilter const& op)
|
|||
template <typename Src>
|
||||
void apply_filter(Src & src, color_blind_protanope const& op)
|
||||
{
|
||||
color_blind_filter(src, op);
|
||||
apply_color_blind_filter(src, op);
|
||||
}
|
||||
|
||||
template <typename Src>
|
||||
void apply_filter(Src & src, color_blind_deuteranope const& op)
|
||||
{
|
||||
color_blind_filter(src, op);
|
||||
apply_color_blind_filter(src, op);
|
||||
}
|
||||
|
||||
template <typename Src>
|
||||
void apply_filter(Src & src, color_blind_tritanope const& op)
|
||||
{
|
||||
color_blind_filter(src, op);
|
||||
apply_color_blind_filter(src, op);
|
||||
}
|
||||
|
||||
template <typename Src>
|
||||
|
|
Loading…
Reference in a new issue