From 4616dc1bdc4e5cf4f18c42e10322c00b0871e744 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20=C5=81oskot?= Date: Sat, 15 Dec 2018 01:00:47 +0100 Subject: [PATCH] [numeric] Remove unused type alias from detail::correlate_rows_imp Fix warning: typedef kernel_type locally defined but not used [-Wunused-local-typedefs] --- include/boost/gil/extension/numeric/convolve.hpp | 1 - 1 file changed, 1 deletion(-) diff --git a/include/boost/gil/extension/numeric/convolve.hpp b/include/boost/gil/extension/numeric/convolve.hpp index 152ffd776..0bff6d501 100644 --- a/include/boost/gil/extension/numeric/convolve.hpp +++ b/include/boost/gil/extension/numeric/convolve.hpp @@ -46,7 +46,6 @@ void correlate_rows_imp(const SrcView& src, const Kernel& ker, const DstView& ds typedef typename pixel_proxy::type PIXEL_SRC_REF; typedef typename pixel_proxy::type PIXEL_DST_REF; - typedef typename Kernel::value_type kernel_type; if(ker.size()==1) {//reduces to a multiplication view_multiplies_scalar(src,*ker.begin(),dst);