VFS: fix rename

This commit is contained in:
Elad Ashkenazi 2023-10-16 14:10:57 +03:00
parent 0448b8e3ae
commit 927685fd63

View File

@ -975,7 +975,7 @@ bool vfs::host::rename(const std::string& from, const std::string& to, const lv2
file.restore_data.seek_pos = file.file.pos();
file.file.close(); // Actually close it!
escaped_real.emplace_back(ensure(idm::get_unlocked<lv2_file>(id)), std::move(escaped));
escaped_real.emplace_back(ensure(idm::get_unlocked<lv2_fs_object, lv2_file>(id)), std::move(escaped));
}
});