Mark the Path(Segment) constructor as nothrow.
This commit is contained in:
parent
360f129381
commit
5f18693c49
|
@ -384,7 +384,7 @@ struct GenericPath(F) {
|
||||||
single-element range.
|
single-element range.
|
||||||
*/
|
*/
|
||||||
this(Segment segment)
|
this(Segment segment)
|
||||||
{
|
nothrow {
|
||||||
import std.range : only;
|
import std.range : only;
|
||||||
this(only(segment));
|
this(only(segment));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue