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:
@@ -230,7 +230,6 @@ namespace libtorrent
|
|||||||
// these functions will be removed in a future version
|
// these functions will be removed in a future version
|
||||||
torrent_info(entry const& torrent_file) TORRENT_DEPRECATED;
|
torrent_info(entry const& torrent_file) TORRENT_DEPRECATED;
|
||||||
void print(std::ostream& os) const TORRENT_DEPRECATED;
|
void print(std::ostream& os) const TORRENT_DEPRECATED;
|
||||||
file_storage& files() TORRENT_DEPRECATED { return m_files; }
|
|
||||||
// ------- end deprecation -------
|
// ------- end deprecation -------
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user