move to read only memory mapped files
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
#include "./file_constructor.hpp"
|
||||
|
||||
#include "./file_rw_mapped.hpp"
|
||||
#include "./file2_mapped.hpp"
|
||||
|
||||
std::unique_ptr<File2I> construct_file2_rw_mapped(std::string_view file_path, int64_t file_size) {
|
||||
return std::make_unique<File2RWMapped>(file_path, file_size);
|
||||
}
|
||||
|
||||
std::unique_ptr<File2I> construct_file2_r_mapped(std::string_view file_path) {
|
||||
return std::make_unique<File2RMapped>(file_path);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user