Merge pull request #4 from TrentHouliston/patch-1

Add missing inline for memory_map
This commit is contained in:
mandreyel 2018-04-15 18:43:10 +02:00 committed by GitHub
commit 0dfc6497f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);