Mark the Path(Segment) constructor as nothrow.
This commit is contained in:
parent
360f129381
commit
5f18693c49
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue