summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Wey2012-04-02 23:07:42 +0200
committerMike Wey2012-04-02 23:07:42 +0200
commit90958a9bc18b13cb76581eea7ab7d99b8d831601 (patch)
treec69231fc2a8e910e558c308104c16cf0732cd328
parent3d61ee4f4fa2737534a1d12104eee5041f12f3ac (diff)
We can't pass a literal as ref.
-rw-r--r--dmagick/ImageView.d2
1 files changed, 1 insertions, 1 deletions
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;