diff --git a/solanaceae/ngc_ft1_sha1/file_rw_mapped.hpp b/solanaceae/ngc_ft1_sha1/file_rw_mapped.hpp index 53bcca8..9be2d3c 100644 --- a/solanaceae/ngc_ft1_sha1/file_rw_mapped.hpp +++ b/solanaceae/ngc_ft1_sha1/file_rw_mapped.hpp @@ -24,7 +24,7 @@ struct FileRWMapped : public FileI { // sink, is also read //_file_map = mio::make_mmap_sink(file_path, 0, file_size, err); //_file_map = mio::make_mmap(file_path, 0, file_size, err); - _file_map.map(file_path, 0, file_size, err); + _file_map.map(std::string{file_path}, 0, file_size, err); if (err) { // TODO: errro