io_posix: style
improve the code style for 80 column limitations
This commit is contained in:
parent
db5795c25a
commit
fcc78eb103
@ -27,7 +27,9 @@ using util::detail::posix::mapped_file;
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
mapped_file::mapped_file (const std::experimental::filesystem::path &path, int fflags, int mflags):
|
||||
mapped_file::mapped_file (const std::experimental::filesystem::path &path,
|
||||
int fflags,
|
||||
int mflags):
|
||||
mapped_file (util::posix::fd (path, fflags), mflags)
|
||||
{ ; }
|
||||
|
||||
|
@ -31,8 +31,11 @@ namespace util {
|
||||
namespace detail::posix {
|
||||
class mapped_file {
|
||||
public:
|
||||
mapped_file (const std::experimental::filesystem::path&, int fflags = O_RDONLY | O_BINARY, int mflags = PROT_READ);
|
||||
mapped_file (const util::posix::fd&, int mflags = PROT_READ);
|
||||
mapped_file (const std::experimental::filesystem::path&,
|
||||
int fflags = O_RDONLY | O_BINARY,
|
||||
int mflags = PROT_READ);
|
||||
mapped_file (const util::posix::fd&,
|
||||
int mflags = PROT_READ);
|
||||
|
||||
mapped_file (const mapped_file&) = delete;
|
||||
mapped_file& operator= (const mapped_file&) = delete;
|
||||
|
Loading…
Reference in New Issue
Block a user