removed use of boost::uintptr_t for better compatibility
This commit is contained in:
parent
227830e757
commit
7dd11268dd
|
@ -1,3 +1,4 @@
|
||||||
|
* removed depdendency on boost::uintptr_t for better compatibility
|
||||||
* fix memory leak in the disk cache
|
* fix memory leak in the disk cache
|
||||||
* fix double free in disk cache
|
* fix double free in disk cache
|
||||||
* forward declaring libtorrent types is discouraged. a new fwd.hpp header is provided
|
* forward declaring libtorrent types is discouraged. a new fwd.hpp header is provided
|
||||||
|
|
|
@ -87,7 +87,7 @@ lsd::lsd(io_service& ios, peer_callback_t const& cb
|
||||||
, m_log_cb(log)
|
, m_log_cb(log)
|
||||||
#endif
|
#endif
|
||||||
, m_broadcast_timer(ios)
|
, m_broadcast_timer(ios)
|
||||||
, m_cookie((random() ^ boost::uintptr_t(this)) & 0x7fffffff)
|
, m_cookie((random() ^ uintptr_t(this)) & 0x7fffffff)
|
||||||
, m_disabled(false)
|
, m_disabled(false)
|
||||||
#if TORRENT_USE_IPV6
|
#if TORRENT_USE_IPV6
|
||||||
, m_disabled6(false)
|
, m_disabled6(false)
|
||||||
|
|
Loading…
Reference in New Issue