remove (deprecated) non-const files() from torrent_info since it opens a loop-hole to modifying the filenames without preserving the original ones
This commit is contained in:
parent
1a22c31d08
commit
1ec87c8f4b
@ -230,7 +230,6 @@ namespace libtorrent
|
||||
// these functions will be removed in a future version
|
||||
torrent_info(entry const& torrent_file) TORRENT_DEPRECATED;
|
||||
void print(std::ostream& os) const TORRENT_DEPRECATED;
|
||||
file_storage& files() TORRENT_DEPRECATED { return m_files; }
|
||||
// ------- end deprecation -------
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user