From f6daed7e8c313d8acf8bdaee9c7dc683c5918481 Mon Sep 17 00:00:00 2001 From: Martin Nowak Date: Mon, 22 Jul 2013 16:17:50 +0200 Subject: [PATCH] add missing constructor declarations for -version=StdDdoc --- std/file.d | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/std/file.d b/std/file.d index 5ceafe79e08..fd5a5bc1ed1 100644 --- a/std/file.d +++ b/std/file.d @@ -1611,6 +1611,16 @@ version(StdDdoc) +/ this(string path); + version (Windows) + { + private this(string path, in WIN32_FIND_DATA* fd); + private this(string path, in WIN32_FIND_DATAW *fd); + } + else version (Posix) + { + private this(string path, core.sys.posix.dirent.dirent* fd); + } + /++ Returns the path to the file represented by this $(D DirEntry).