Add @safe attribute to main.extractOpt()
This commit is contained in:
parent
6a6f39e0bd
commit
56d69af099
1 changed files with 1 additions and 1 deletions
2
main.d
2
main.d
|
@ -265,7 +265,7 @@ key = " ~ DEFAULT_APIKEY ~ "
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
string extractOpt(GetOptException e)
|
string extractOpt(GetOptException e) @safe
|
||||||
{
|
{
|
||||||
return e.msg.matchFirst("-.")[0];
|
return e.msg.matchFirst("-.")[0];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue