From 90958a9bc18b13cb76581eea7ab7d99b8d831601 Mon Sep 17 00:00:00 2001 From: Mike Wey Date: Mon, 2 Apr 2012 23:07:42 +0200 Subject: We can't pass a literal as ref. --- dmagick/ImageView.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dmagick/ImageView.d b/dmagick/ImageView.d index b390aaa..d464588 100644 --- a/dmagick/ImageView.d +++ b/dmagick/ImageView.d @@ -157,7 +157,7 @@ class ImageView * Support the usage of foreach to loop over the rows in the view. * The foreach is executed in parallel. */ - int opApply(int delegate(ref Pixels) dg) + int opApply(int delegate(Pixels) dg) { shared(int) progress; -- cgit v1.2.3