fix unit test

This commit is contained in:
Arvid Norberg 2015-05-31 17:28:37 +00:00
parent f6eb3e8c74
commit e35d8d3933
1 changed files with 2 additions and 1 deletions

View File

@ -203,6 +203,7 @@ struct test_plugin : libtorrent::plugin
TORRENT_TEST(extensions)
{
#ifndef TORRENT_DISABLE_EXTENSIONS
memset(plugin_alerts, 0, sizeof(plugin_alerts));
alert_manager mgr(100, 0xffffffff);
mgr.add_extension(boost::make_shared<test_plugin>(0));