forked from premiere/premiere-libtorrent
added TORRENT_NO_DEPRECATE around file_progress_float
This commit is contained in:
parent
7285813449
commit
22b745d548
|
@ -512,11 +512,11 @@ namespace libtorrent
|
|||
bool delete_files(int options);
|
||||
void peers_erased(std::vector<torrent_peer*> const& peers);
|
||||
|
||||
// ============ start deprecation =============
|
||||
#ifndef TORRENT_NO_DEPRECATE
|
||||
#if !TORRENT_NO_FPU
|
||||
void file_progress_float(aux::vector<float, file_index_t>& fp);
|
||||
#endif
|
||||
// ============ end deprecation =============
|
||||
#endif // TORRENT_NO_DEPRECATE
|
||||
|
||||
void piece_availability(aux::vector<int, piece_index_t>& avail) const;
|
||||
|
||||
|
|
|
@ -10174,6 +10174,7 @@ namespace libtorrent
|
|||
#endif
|
||||
}
|
||||
|
||||
#ifndef TORRENT_NO_DEPRECATE
|
||||
#if !TORRENT_NO_FPU
|
||||
void torrent::file_progress_float(aux::vector<float, file_index_t>& fp)
|
||||
{
|
||||
|
@ -10198,6 +10199,7 @@ namespace libtorrent
|
|||
}
|
||||
}
|
||||
#endif
|
||||
#endif // TORRENT_NO_DEPRECATE
|
||||
|
||||
void torrent::file_progress(aux::vector<std::int64_t, file_index_t>& fp, int const flags)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue