1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-23 16:24:02 +00:00

fixup! refactor: remove redundant code when adding announce lists to metainfo (#6050) (#6061)

This commit is contained in:
Yat Ho 2023-10-02 23:18:38 +08:00 committed by GitHub
parent ee4daa059d
commit 170f589b64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -335,6 +335,8 @@ std::string tr_metainfo_builder::benc(tr_error** error) const
file_vec.emplace_back(std::move(file_map));
}
info_dict.try_emplace(TR_KEY_files, std::move(file_vec));
}
if (!std::empty(base))