From f668250de8d118770e0764aabccbdb016e02cd76 Mon Sep 17 00:00:00 2001 From: Samuel Debionne Date: Wed, 18 Sep 2024 13:14:06 +0200 Subject: [PATCH] Fix dynamic transposed_view Just a little typo --- .../gil/extension/dynamic_image/image_view_factory.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/gil/extension/dynamic_image/image_view_factory.hpp b/include/boost/gil/extension/dynamic_image/image_view_factory.hpp index a41dc32c5..3d01724d3 100644 --- a/include/boost/gil/extension/dynamic_image/image_view_factory.hpp +++ b/include/boost/gil/extension/dynamic_image/image_view_factory.hpp @@ -73,14 +73,14 @@ struct rotated90ccw_view_fn }; template -struct tranposed_view_fn +struct transposed_view_fn { using result_type = ResultView; template auto operator()(View const& src) const -> result_type { - return result_type{tranposed_view(src)}; + return result_type{transposed_view(src)}; } }; @@ -196,7 +196,7 @@ auto transposed_view(any_image_view const& src) -> typename dynamic_xy_step_transposed_type>::type { using result_view_t = typename dynamic_xy_step_transposed_type>::type; - return variant2::visit(detail::tranposed_view_fn(), src); + return variant2::visit(detail::transposed_view_fn(), src); } /// \ingroup ImageViewTransformations90CW