forked from premiere/premiere-libtorrent
fix test_torrent_info on windows
This commit is contained in:
parent
9bfbb8a52a
commit
81ab22d3d8
|
@ -94,8 +94,11 @@ void test_storage()
|
||||||
|
|
||||||
void test_copy()
|
void test_copy()
|
||||||
{
|
{
|
||||||
|
using namespace libtorrent;
|
||||||
|
|
||||||
boost::shared_ptr<torrent_info> a(boost::make_shared<torrent_info>(
|
boost::shared_ptr<torrent_info> a(boost::make_shared<torrent_info>(
|
||||||
libtorrent::combine_path("..", libtorrent::combine_path("test_torrents", "sample.torrent"))));
|
combine_path(parent_path(current_working_directory())
|
||||||
|
, combine_path("test_torrents", "sample.torrent"))));
|
||||||
|
|
||||||
boost::shared_ptr<torrent_info> b(boost::make_shared<torrent_info>(*a));
|
boost::shared_ptr<torrent_info> b(boost::make_shared<torrent_info>(*a));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue