Add missing inline for memory_map

This commit is contained in:
Trent Houliston 2018-04-12 11:13:47 +10:00 committed by GitHub
parent 321312f4d1
commit ab385b9ed4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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