mirror of
https://github.com/vimpunk/mio.git
synced 2025-12-06 08:46:51 +08:00
Merge pull request #4 from TrentHouliston/patch-1
Add missing inline for memory_map
This commit is contained in:
commit
0dfc6497f2
@ -122,7 +122,7 @@ struct mmap_context
|
||||
#endif
|
||||
};
|
||||
|
||||
mmap_context memory_map(const file_handle_type file_handle, const int64_t offset,
|
||||
inline mmap_context memory_map(const file_handle_type file_handle, const int64_t offset,
|
||||
const int64_t length, const access_mode mode, std::error_code& error)
|
||||
{
|
||||
const int64_t aligned_offset = make_offset_page_aligned(offset);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user