Make std.stdio.File 'package' accessible

This is required in the new std.process.
This commit is contained in:
Lars T. Kyllingstad 2013-04-30 21:03:56 +02:00
parent cf3a3ee0a5
commit 8a95cadf29

View file

@ -296,7 +296,7 @@ struct File
private Impl* _p;
private string _name;
private this(FILE* handle, string name, uint refs = 1, bool isPipe = false)
package this(FILE* handle, string name, uint refs = 1, bool isPipe = false)
{
assert(!_p);
_p = cast(Impl*) enforce(malloc(Impl.sizeof), "Out of memory");