Skip to content

Commit

Permalink
Fixed long lines in std/variant.d
Browse files Browse the repository at this point in the history
  • Loading branch information
JackStouffer committed May 11, 2016
1 parent da25ed2 commit f6bfee2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion std/variant.d
Original file line number Diff line number Diff line change
Expand Up @@ -2246,7 +2246,11 @@ private auto visitImpl(bool Strict, VariantType, Handler...)(VariantType variant
static if (HandlerOverloadMap.exceptionFuncIdx != -1)
return Handler[ HandlerOverloadMap.exceptionFuncIdx ]();
else
throw new VariantException("variant holds value of type '" ~ T.stringof ~ "' but no visitor has been provided");
throw new VariantException(
"variant holds value of type '"
~ T.stringof ~
"' but no visitor has been provided"
);
}
}
else
Expand Down

0 comments on commit f6bfee2

Please sign in to comment.