From 24d8c27844c56876893a25d63a1bbfca705de072 Mon Sep 17 00:00:00 2001 From: Ivan Gagis <igagis@gmail.com> Date: Thu, 31 Oct 2024 13:37:44 +0200 Subject: [PATCH] fix lint --- src/rasterimage/image_span.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rasterimage/image_span.hpp b/src/rasterimage/image_span.hpp index 25a2b13..dd57989 100644 --- a/src/rasterimage/image_span.hpp +++ b/src/rasterimage/image_span.hpp @@ -62,7 +62,7 @@ class image_span : public dimensioned ); private: - size_t stride_px; + size_t stride_px = 0; pixel_type* buffer = nullptr; @@ -79,7 +79,7 @@ class image_span : public dimensioned std::conditional_t<is_const, const_value_type, non_const_value_type> line; - size_t stride_px{}; + size_t stride_px = 0; iterator_internal( decltype(line) line, //