Merge pull request #308 from arvidn/msvc-build-fix

fix msvc build
This commit is contained in:
Arvid Norberg 2015-12-03 21:09:33 -05:00
commit da25832459
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ struct traversal_algorithm;
TORRENT_EXTRA_EXPORT void intrusive_ptr_add_ref(observer const*);
TORRENT_EXTRA_EXPORT void intrusive_ptr_release(observer const*);
struct observer : boost::noncopyable
struct TORRENT_EXTRA_EXPORT observer : boost::noncopyable
{
friend TORRENT_EXTRA_EXPORT void intrusive_ptr_add_ref(observer const*);
friend TORRENT_EXTRA_EXPORT void intrusive_ptr_release(observer const*);

View File

@ -58,7 +58,7 @@ class rpc_manager;
class node;
// this class may not be instantiated as a stack object
struct traversal_algorithm : boost::noncopyable
struct TORRENT_EXTRA_EXPORT traversal_algorithm : boost::noncopyable
{
void traverse(node_id const& id, udp::endpoint addr);
void finished(observer_ptr o);