forked from premiere/premiere-libtorrent
fixed warning in msvc
This commit is contained in:
parent
4b750a29d2
commit
3794b49e3a
|
@ -451,8 +451,8 @@ namespace libtorrent
|
||||||
}
|
}
|
||||||
bool has_picker() const
|
bool has_picker() const
|
||||||
{
|
{
|
||||||
assert((valid_metadata() && !is_seed()) == bool(m_picker.get()));
|
assert((valid_metadata() && !is_seed()) == bool(m_picker.get() != 0));
|
||||||
return m_picker.get();
|
return m_picker.get() != 0;
|
||||||
}
|
}
|
||||||
policy& get_policy()
|
policy& get_policy()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue