same as prev commit

This commit is contained in:
Green Sky 2023-08-21 21:40:08 +02:00
parent 968ae94848
commit bc09b5aa60
No known key found for this signature in database

View File

@ -24,7 +24,7 @@ struct FileRWMapped : public FileI {
// sink, is also read // sink, is also read
//_file_map = mio::make_mmap_sink(file_path, 0, file_size, err); //_file_map = mio::make_mmap_sink(file_path, 0, file_size, err);
//_file_map = mio::make_mmap<mio::ummap_sink>(file_path, 0, file_size, err); //_file_map = mio::make_mmap<mio::ummap_sink>(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) { if (err) {
// TODO: errro // TODO: errro