From 51cd9749e9acd70732f60d75e406d77ec5ea3a0c Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Tue, 28 Jun 2016 12:21:12 +1000 Subject: [PATCH] io_posix: indentation style --- io_posix.hpp | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/io_posix.hpp b/io_posix.hpp index e62d6e0b..ada37b25 100644 --- a/io_posix.hpp +++ b/io_posix.hpp @@ -25,32 +25,32 @@ namespace util { namespace detail { namespace posix { class mapped_file { - private: - fd m_fd; - uint8_t *m_data; - size_t m_size; + private: + fd m_fd; + uint8_t *m_data; + size_t m_size; - void load_fd (int mflags); + void load_fd (int mflags); - public: - mapped_file (const char *path, int fflags = O_RDONLY | O_BINARY, int mflags = PROT_READ); + public: + mapped_file (const char *path, int fflags = O_RDONLY | O_BINARY, int mflags = PROT_READ); - mapped_file (const mapped_file&) = delete; - mapped_file& operator= (const mapped_file&) = delete; + mapped_file (const mapped_file&) = delete; + mapped_file& operator= (const mapped_file&) = delete; - ~mapped_file (); + ~mapped_file (); - const uint8_t* data (void) const; - uint8_t* data (void); + const uint8_t* data (void) const; + uint8_t* data (void); - bool empty (void) const; - size_t size (void) const; + bool empty (void) const; + size_t size (void) const; - uint8_t* begin (void); - uint8_t* end (void); + uint8_t* begin (void); + uint8_t* end (void); - const uint8_t* cbegin (void) const; - const uint8_t* cend (void) const; + const uint8_t* cbegin (void) const; + const uint8_t* cend (void) const; }; } }