From f815c0b33697fa9ea705b23f8649eb6aff98d8a3 Mon Sep 17 00:00:00 2001 From: Elias Batek Date: Sun, 2 Feb 2025 02:21:40 +0100 Subject: [PATCH] Practise what you preach --- pixmappaint.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pixmappaint.d b/pixmappaint.d index b0a441a..778e7eb 100644 --- a/pixmappaint.d +++ b/pixmappaint.d @@ -3128,7 +3128,7 @@ private void scaleToImpl(ScalingFilter filter)(const Pixmap source, Pixmap targe }(); } - foreach (x, ref pxDst; dstLine) { + foreach (const x, ref pxDst; dstLine) { const posDstX = x.castTo!uint; const int[2] posDst = [ posDstX,