diff options
Diffstat (limited to 'dmagick/Exception.d')
| -rw-r--r-- | dmagick/Exception.d | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dmagick/Exception.d b/dmagick/Exception.d index 5add259..23f07a6 100644 --- a/dmagick/Exception.d +++ b/dmagick/Exception.d @@ -26,7 +26,7 @@ import dmagick.c.exception; */ class DMagickException : Exception { - this(string reason, string description) + this(string reason, string description = null) { string message = to!(string)(GetClientName()); @@ -93,7 +93,7 @@ class DMagickException : Exception */ class DMagickError : Error { - this(string reason, string description) + this(string reason, string description = null) { string message = to!(string)(GetClientName()); |
