mirror of
https://github.com/dlang/phobos.git
synced 2025-04-29 22:50:38 +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,
|
||||
uint errno = .GetLastError(),
|
||||
string file = __FILE__,
|
||||
size_t line = __LINE__) @trusted
|
||||
size_t line = __LINE__) @safe
|
||||
{
|
||||
this(name, sysErrorString(errno), file, line);
|
||||
this.errno = errno;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue