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