forked from premiere/premiere-libtorrent
fix assert
This commit is contained in:
parent
a7213d3f5a
commit
84f70a77ee
|
@ -204,7 +204,7 @@ namespace libtorrent
|
|||
{
|
||||
// no, we don't. add it
|
||||
e.path_index = int(m_paths.size());
|
||||
TORRENT_ASSERT(branch_path[0] != '/');
|
||||
TORRENT_ASSERT(branch_len == 0 || branch_path[0] != '/');
|
||||
|
||||
// poor man's emplace back
|
||||
m_paths.resize(m_paths.size() + 1);
|
||||
|
|
Loading…
Reference in New Issue