mirror of
https://github.com/vimpunk/mio.git
synced 2025-12-06 16:57:01 +08:00
Add missing inline for memory_map
This commit is contained in:
parent
321312f4d1
commit
ab385b9ed4
@ -122,7 +122,7 @@ struct mmap_context
|
|||||||
#endif
|
#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 length, const access_mode mode, std::error_code& error)
|
||||||
{
|
{
|
||||||
const int64_t aligned_offset = make_offset_page_aligned(offset);
|
const int64_t aligned_offset = make_offset_page_aligned(offset);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user