diff options
| author | Mike Wey | 2012-12-26 13:52:37 +0100 |
|---|---|---|
| committer | Mike Wey | 2012-12-26 13:52:37 +0100 |
| commit | 2c38f5b3ea75829d3f8cac09eda7ec959f023399 (patch) | |
| tree | 9827e9666410667b24aaae7a58f7552e2d5adf1f | |
| parent | 01c3ab53110d338a8fdae44318103cdd7a4af806 (diff) | |
Some changes for dmd 2.061.
| -rw-r--r-- | dmagick/Color.d | 2 | ||||
| -rw-r--r-- | 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; |
