Skip to content

Commit

Permalink
std.file: Fix building documentation on Windows
Browse files Browse the repository at this point in the history
This fixes the error:

safe function 'std.file.timeLastModified' cannot call system function 'std.file.getTimesWin!(const(char)[]).getTimesWin'
  • Loading branch information
CyberShadow committed Jul 2, 2015
1 parent 313fcb1 commit 9b6e8df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/file.d
Expand Up @@ -863,7 +863,7 @@ version(StdDdoc) void getTimesWin(R)(R name,
out SysTime fileCreationTime,
out SysTime fileAccessTime,
out SysTime fileModificationTime)
if (isInputRange!R && isSomeChar!(ElementEncodingType!R));
if (isInputRange!R && isSomeChar!(ElementEncodingType!R)) {}

else version(Windows) void getTimesWin(R)(R name,
out SysTime fileCreationTime,
Expand Down

0 comments on commit 9b6e8df

Please sign in to comment.