minor refactor of deprecated user_load_function_t

This commit is contained in:
Alden Torres 2017-02-15 11:57:17 -05:00 committed by Arvid Norberg
parent f407d85349
commit 6819823f1f
1 changed files with 2 additions and 3 deletions

View File

@ -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) {}