io_win32: rename util::fd to posix::fd
This commit is contained in:
parent
31e9270e6b
commit
67f2aee701
@ -140,7 +140,7 @@ mapped_file::mapped_file (const std::experimental::filesystem::path &path,
|
|||||||
|
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
mapped_file::mapped_file (const util::fd &src,
|
mapped_file::mapped_file (const util::posix::fd &src,
|
||||||
int fflags,
|
int fflags,
|
||||||
int mflags):
|
int mflags):
|
||||||
mapped_file (util::win32::handle (reinterpret_cast<HANDLE> (_get_osfhandle (src))),
|
mapped_file (util::win32::handle (reinterpret_cast<HANDLE> (_get_osfhandle (src))),
|
||||||
|
@ -60,7 +60,7 @@ namespace util {
|
|||||||
mapped_file (const std::experimental::filesystem::path &path,
|
mapped_file (const std::experimental::filesystem::path &path,
|
||||||
int fflags = O_RDONLY,
|
int fflags = O_RDONLY,
|
||||||
int mflags = PROT_READ);
|
int mflags = PROT_READ);
|
||||||
mapped_file (const util::fd&,
|
mapped_file (const util::posix::fd&,
|
||||||
int fflag = O_RDONLY,
|
int fflag = O_RDONLY,
|
||||||
int mflags = PROT_READ);
|
int mflags = PROT_READ);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user