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.
|
||||
*/
|
||||
this(Segment segment)
|
||||
{
|
||||
nothrow {
|
||||
import std.range : only;
|
||||
this(only(segment));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue