From fcc78eb103365b68dfdef1fec792ba3e06c41f5a Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Wed, 19 Jul 2017 17:20:51 +1000 Subject: [PATCH] io_posix: style improve the code style for 80 column limitations --- io_posix.cpp | 4 +++- io_posix.hpp | 7 +++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/io_posix.cpp b/io_posix.cpp index f4b612d0..c4d8683a 100644 --- a/io_posix.cpp +++ b/io_posix.cpp @@ -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) { ; } diff --git a/io_posix.hpp b/io_posix.hpp index 0eae93eb..338f6b25 100644 --- a/io_posix.hpp +++ b/io_posix.hpp @@ -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;