mirror of
https://github.com/vimpunk/mio.git
synced 2025-12-06 08:46:51 +08:00
Add line break and comment #endifs
This commit is contained in:
parent
ca14fbdff8
commit
3c49b5c3fa
@ -128,7 +128,8 @@ public:
|
|||||||
map(handle, offset, length, error);
|
map(handle, offset, length, error);
|
||||||
if(error) { throw std::system_error(error); }
|
if(error) { throw std::system_error(error); }
|
||||||
}
|
}
|
||||||
#endif
|
#endif // __cpp_exceptions
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* `basic_mmap` has single-ownership semantics, so transferring ownership
|
* `basic_mmap` has single-ownership semantics, so transferring ownership
|
||||||
* may only be accomplished by moving the object.
|
* may only be accomplished by moving the object.
|
||||||
|
|||||||
@ -112,7 +112,7 @@ public:
|
|||||||
map(handle, offset, length, error);
|
map(handle, offset, length, error);
|
||||||
if(error) { throw std::system_error(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,
|
* If this is a read-write mapping and the last reference to the mapping,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user