Blind fix
This commit is contained in:
parent
a1d34196cd
commit
812b7d7461
@ -50,9 +50,10 @@ MMapMemoryAllocator::MMapMemoryAllocator(const storage::StorageConfig &config)
|
||||
std::make_unique<storage::TarDataLayout>();
|
||||
boost::iostreams::mapped_file_source mapped_memory_file;
|
||||
auto data = util::mmapFile<char>(file.second, mapped_memory_file).data();
|
||||
mapped_memory_files.push_back(std::move(mapped_memory_file));
|
||||
mapped_memory_files.emplace_back(std::move(mapped_memory_file));
|
||||
storage::populateLayoutFromFile(file.second, *layout);
|
||||
allocated_regions.push_back({const_cast<char *>(data), std::move(layout)});
|
||||
allocated_regions.emplace_back(storage::SharedDataIndex::AllocatedRegion{
|
||||
const_cast<char *>(data), std::move(layout)});
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user