From bc09b5aa60924401fa4ecb0f7c6b1bc5c7afea17 Mon Sep 17 00:00:00 2001 From: Green Sky Date: Mon, 21 Aug 2023 21:40:08 +0200 Subject: [PATCH] same as prev commit --- solanaceae/ngc_ft1_sha1/file_rw_mapped.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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