From 5aaf82b1b57de593e11e210082a53a5722dff353 Mon Sep 17 00:00:00 2001 From: artemp Date: Tue, 9 Feb 2016 13:44:34 +0100 Subject: [PATCH] fix naming clash (color_blind_filter) --- include/mapnik/image_filter.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/mapnik/image_filter.hpp b/include/mapnik/image_filter.hpp index 9b0b754cc..150741330 100644 --- a/include/mapnik/image_filter.hpp +++ b/include/mapnik/image_filter.hpp @@ -678,7 +678,7 @@ void apply_filter(Src & src, scale_hsla const& transform) } template -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 void apply_filter(Src & src, color_blind_protanope const& op) { - color_blind_filter(src, op); + apply_color_blind_filter(src, op); } template void apply_filter(Src & src, color_blind_deuteranope const& op) { - color_blind_filter(src, op); + apply_color_blind_filter(src, op); } template void apply_filter(Src & src, color_blind_tritanope const& op) { - color_blind_filter(src, op); + apply_color_blind_filter(src, op); } template