fix naming clash (color_blind_filter)

This commit is contained in:
artemp 2016-02-09 13:44:34 +01:00
parent cca2a33acd
commit 5aaf82b1b5

View file

@ -678,7 +678,7 @@ void apply_filter(Src & src, scale_hsla const& transform)
} }
template <typename Src, typename ColorBlindFilter> 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; using namespace boost::gil;
rgba8_view_t src_view = rgba8_view(src); rgba8_view_t src_view = rgba8_view(src);
@ -801,19 +801,19 @@ void color_blind_filter(Src & src, ColorBlindFilter const& op)
template <typename Src> template <typename Src>
void apply_filter(Src & src, color_blind_protanope const& op) void apply_filter(Src & src, color_blind_protanope const& op)
{ {
color_blind_filter(src, op); apply_color_blind_filter(src, op);
} }
template <typename Src> template <typename Src>
void apply_filter(Src & src, color_blind_deuteranope const& op) void apply_filter(Src & src, color_blind_deuteranope const& op)
{ {
color_blind_filter(src, op); apply_color_blind_filter(src, op);
} }
template <typename Src> template <typename Src>
void apply_filter(Src & src, color_blind_tritanope const& op) void apply_filter(Src & src, color_blind_tritanope const& op)
{ {
color_blind_filter(src, op); apply_color_blind_filter(src, op);
} }
template <typename Src> template <typename Src>