abstract aways file2rwmapped construction to lower visibility

This commit is contained in:
2024-07-15 17:44:30 +02:00
parent 3fcfbc11a4
commit f730844771
4 changed files with 24 additions and 5 deletions

View File

@@ -0,0 +1,8 @@
#include "./file_constructor.hpp"
#include "./file_rw_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);
}