mirror of
https://github.com/dlang/phobos.git
synced 2025-04-30 07:00:37 +03:00
Mark a constructor for Windows as @safe
This commit is contained in:
parent
163b828923
commit
c45dab54c6
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ class FileException : Exception
|
||||||
version(Windows) this(in char[] name,
|
version(Windows) this(in char[] name,
|
||||||
uint errno = .GetLastError(),
|
uint errno = .GetLastError(),
|
||||||
string file = __FILE__,
|
string file = __FILE__,
|
||||||
size_t line = __LINE__) @trusted
|
size_t line = __LINE__) @safe
|
||||||
{
|
{
|
||||||
this(name, sysErrorString(errno), file, line);
|
this(name, sysErrorString(errno), file, line);
|
||||||
this.errno = errno;
|
this.errno = errno;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue