minor refactor of deprecated user_load_function_t
This commit is contained in:
parent
f407d85349
commit
6819823f1f
|
@ -63,11 +63,10 @@ namespace libtorrent
|
|||
|
||||
#ifndef TORRENT_NO_DEPRECATE
|
||||
struct session_status;
|
||||
using user_load_function_t = std::function<void(sha1_hash const&
|
||||
, std::vector<char>&, error_code&)>;
|
||||
#endif
|
||||
|
||||
typedef std::function<void(sha1_hash const&, std::vector<char>&
|
||||
, error_code&)> user_load_function_t;
|
||||
|
||||
struct TORRENT_EXPORT session_handle
|
||||
{
|
||||
session_handle() : m_impl(nullptr) {}
|
||||
|
|
Loading…
Reference in New Issue