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