From 063a8479314f377a352e8921007a5d8f078078a8 Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Mon, 9 Dec 2024 11:47:11 +1000 Subject: [PATCH] Fix return value --- src/core/raster/qgsrasteriterator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/raster/qgsrasteriterator.h b/src/core/raster/qgsrasteriterator.h index 64b9cf05301c..d312aa062296 100644 --- a/src/core/raster/qgsrasteriterator.h +++ b/src/core/raster/qgsrasteriterator.h @@ -216,7 +216,7 @@ class CORE_EXPORT QgsRasterIterator * \see blockCountWidth() * \since QGIS 3.42 */ - int blockCountHeight() const { return mNumberBlocksWidth; } + int blockCountHeight() const { return mNumberBlocksHeight; } /** * Returns the total number of blocks required to iterate over the input raster.