From 1c147018dbbb3bcd4377b36dd2312a4187d85107 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 21 May 2007 19:31:37 +0000 Subject: [PATCH] fixed correct export macros for intrusive pointer refcounter functions --- include/libtorrent/peer_connection.hpp | 4 ++-- include/libtorrent/tracker_manager.hpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/libtorrent/peer_connection.hpp b/include/libtorrent/peer_connection.hpp index 954c5b8c1..ab2a9456b 100755 --- a/include/libtorrent/peer_connection.hpp +++ b/include/libtorrent/peer_connection.hpp @@ -100,8 +100,8 @@ namespace libtorrent : public boost::noncopyable { friend class invariant_access; - friend void intrusive_ptr_add_ref(peer_connection const*); - friend void intrusive_ptr_release(peer_connection const*); + friend TORRENT_EXPORT void intrusive_ptr_add_ref(peer_connection const*); + friend TORRENT_EXPORT void intrusive_ptr_release(peer_connection const*); public: enum channels diff --git a/include/libtorrent/tracker_manager.hpp b/include/libtorrent/tracker_manager.hpp index 7e9783311..a75e15693 100755 --- a/include/libtorrent/tracker_manager.hpp +++ b/include/libtorrent/tracker_manager.hpp @@ -154,8 +154,8 @@ namespace libtorrent struct TORRENT_EXPORT timeout_handler : boost::noncopyable { - friend void intrusive_ptr_add_ref(timeout_handler const*); - friend void intrusive_ptr_release(timeout_handler const*); + friend TORRENT_EXPORT void intrusive_ptr_add_ref(timeout_handler const*); + friend TORRENT_EXPORT void intrusive_ptr_release(timeout_handler const*); timeout_handler(asio::strand& str);