summaryrefslogtreecommitdiff
path: root/dmagick/Exception.d
diff options
context:
space:
mode:
Diffstat (limited to 'dmagick/Exception.d')
-rw-r--r--dmagick/Exception.d4
1 files changed, 2 insertions, 2 deletions
diff --git a/dmagick/Exception.d b/dmagick/Exception.d
index 7670890..a6bc037 100644
--- a/dmagick/Exception.d
+++ b/dmagick/Exception.d
@@ -116,7 +116,7 @@ mixin(
exceptions ~=
"class " ~ severity ~ "Exception : DMagickException
{
- this(string reason, string description)
+ this(string reason, string description = null)
{
super(reason, description);
}
@@ -125,7 +125,7 @@ mixin(
exceptions ~=
"class " ~ severity ~ "Error : DMagickError
{
- this(string reason, string description)
+ this(string reason, string description = null)
{
super(reason, description);
}