From 67f2aee7017c5b0fe0fc0b511a38df1663522786 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Thu, 17 Nov 2016 18:32:31 +1100 Subject: [PATCH] io_win32: rename util::fd to posix::fd --- io_win32.cpp | 2 +- io_win32.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/io_win32.cpp b/io_win32.cpp index c27e2410..521c2fdd 100644 --- a/io_win32.cpp +++ b/io_win32.cpp @@ -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 mflags): mapped_file (util::win32::handle (reinterpret_cast (_get_osfhandle (src))), diff --git a/io_win32.hpp b/io_win32.hpp index 776eaedc..06197087 100644 --- a/io_win32.hpp +++ b/io_win32.hpp @@ -60,7 +60,7 @@ namespace util { mapped_file (const std::experimental::filesystem::path &path, int fflags = O_RDONLY, int mflags = PROT_READ); - mapped_file (const util::fd&, + mapped_file (const util::posix::fd&, int fflag = O_RDONLY, int mflags = PROT_READ);