forked from premiere/premiere-libtorrent
mapped storage fix
This commit is contained in:
parent
d334022216
commit
9a7e26b280
|
@ -125,7 +125,7 @@ namespace libtorrent
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool valid() const { return m_entry; }
|
bool valid() const { return m_entry && m_entry->file.const_data(); }
|
||||||
|
|
||||||
char* addr() const
|
char* addr() const
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue