From 2c38f5b3ea75829d3f8cac09eda7ec959f023399 Mon Sep 17 00:00:00 2001 From: Mike Wey Date: Wed, 26 Dec 2012 13:52:37 +0100 Subject: Some changes for dmd 2.061. --- dmagick/Color.d | 2 +- dmagick/ImageView.d | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dmagick/Color.d b/dmagick/Color.d index cb17cf0..0813dc2 100644 --- a/dmagick/Color.d +++ b/dmagick/Color.d @@ -106,7 +106,7 @@ class Color /** * Returns the value as a hex string. */ - override string toString() + override string toString() const { static if ( MagickQuantumDepth == 8 ) string frm = "%02X"; 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