fix typo in previos commit

This commit is contained in:
arvidn 2015-08-02 15:54:42 -04:00
parent bb64887f30
commit 8473696d62
1 changed files with 2 additions and 1 deletions

View File

@ -167,7 +167,8 @@ TORRENT_TEST(total_wanted)
std::vector<char> tmp;
bencode(std::back_inserter(tmp), t.generate());
error_code ec;
boost::shared_ptr<torrent_info> info(boost::make_shared<torrent_info>(&tmp[0], tmp.size(), ec));
boost::shared_ptr<torrent_info> info(boost::make_shared<torrent_info>(
&tmp[0], tmp.size(), boost::ref(ec)));
settings_pack pack;
pack.set_int(settings_pack::alert_mask, alert::storage_notification);