From 1ec87c8f4b602b04fbc06a6fd6ade9797b5d5d2e Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Tue, 30 Dec 2008 17:50:34 +0000 Subject: [PATCH] remove (deprecated) non-const files() from torrent_info since it opens a loop-hole to modifying the filenames without preserving the original ones --- include/libtorrent/torrent_info.hpp | 1 - 1 file changed, 1 deletion(-) diff --git a/include/libtorrent/torrent_info.hpp b/include/libtorrent/torrent_info.hpp index d9df4afcc..99d9f1f17 100644 --- a/include/libtorrent/torrent_info.hpp +++ b/include/libtorrent/torrent_info.hpp @@ -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