13 lines
364 B
C++
13 lines
364 B
C++
#include "./file_constructor.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);
|
|
}
|
|
|