hide internal make_udp and make_tcp functions
This commit is contained in:
parent
bfc579e61f
commit
2bf42f2afd
|
@ -93,9 +93,11 @@ namespace libtorrent {
|
|||
using null_buffers = boost::asio::null_buffers;
|
||||
#endif
|
||||
|
||||
// internal
|
||||
inline udp::endpoint make_udp(tcp::endpoint const ep)
|
||||
{ return {ep.address(), ep.port()}; }
|
||||
|
||||
// internal
|
||||
inline tcp::endpoint make_tcp(udp::endpoint const ep)
|
||||
{ return {ep.address(), ep.port()}; }
|
||||
|
||||
|
|
Loading…
Reference in New Issue