From 8473696d62a2d993f7ab4aa17e88c640dd792e40 Mon Sep 17 00:00:00 2001 From: arvidn Date: Sun, 2 Aug 2015 15:54:42 -0400 Subject: [PATCH] fix typo in previos commit --- test/test_torrent.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test_torrent.cpp b/test/test_torrent.cpp index 3576a4a89..fc0426efd 100644 --- a/test/test_torrent.cpp +++ b/test/test_torrent.cpp @@ -167,7 +167,8 @@ TORRENT_TEST(total_wanted) std::vector tmp; bencode(std::back_inserter(tmp), t.generate()); error_code ec; - boost::shared_ptr info(boost::make_shared(&tmp[0], tmp.size(), ec)); + boost::shared_ptr info(boost::make_shared( + &tmp[0], tmp.size(), boost::ref(ec))); settings_pack pack; pack.set_int(settings_pack::alert_mask, alert::storage_notification);