Skip to content

Commit

Permalink
Make std.stdio.testFilename @safe and pure
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-tan committed Feb 23, 2014
1 parent 5609b00 commit ae0b31c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/stdio.d
Expand Up @@ -3802,7 +3802,7 @@ version(linux)
}
}

version(unittest) string testFilename(string file = __FILE__, size_t line = __LINE__)
version(unittest) string testFilename(string file = __FILE__, size_t line = __LINE__) @safe pure
{
import std.conv : text;
import std.path : baseName;
Expand Down

0 comments on commit ae0b31c

Please sign in to comment.