diff --git a/std/file.d b/std/file.d index 6c12665f7..17c3a1f4a 100644 --- a/std/file.d +++ b/std/file.d @@ -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;