From 3c49b5c3fac2f31a07e3d913ce1139b640c1944c Mon Sep 17 00:00:00 2001 From: "easyaspi314 (Devin)" Date: Fri, 9 Nov 2018 11:30:47 -0500 Subject: [PATCH] Add line break and comment #endifs --- include/mio/mmap.hpp | 3 ++- include/mio/shared_mmap.hpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/mio/mmap.hpp b/include/mio/mmap.hpp index b7803ea..cb686ca 100644 --- a/include/mio/mmap.hpp +++ b/include/mio/mmap.hpp @@ -128,7 +128,8 @@ public: map(handle, offset, length, error); if(error) { throw std::system_error(error); } } -#endif +#endif // __cpp_exceptions + /** * `basic_mmap` has single-ownership semantics, so transferring ownership * may only be accomplished by moving the object. diff --git a/include/mio/shared_mmap.hpp b/include/mio/shared_mmap.hpp index 19be761..b914c18 100644 --- a/include/mio/shared_mmap.hpp +++ b/include/mio/shared_mmap.hpp @@ -112,7 +112,7 @@ public: map(handle, offset, length, error); if(error) { throw std::system_error(error); } } -#endif +#endif // __cpp_exceptions /** * If this is a read-write mapping and the last reference to the mapping,