forked from premiere/premiere-libtorrent
fix warning
This commit is contained in:
parent
fb5a558ff2
commit
c6b68ab683
|
@ -95,7 +95,7 @@ enum
|
|||
class TORRENT_EXTRA_EXPORT item
|
||||
{
|
||||
public:
|
||||
item() : m_mutable(false) {}
|
||||
item() : m_seq(0), m_mutable(false) {}
|
||||
item(char const* pk, std::string const& salt);
|
||||
item(entry const& v) { assign(v); }
|
||||
item(entry const& v
|
||||
|
|
|
@ -161,9 +161,9 @@ sha1_hash mutable_item_cas(std::pair<char const*, int> v
|
|||
}
|
||||
|
||||
item::item(char const* pk, std::string const& salt)
|
||||
: m_mutable(true)
|
||||
, m_salt(salt)
|
||||
: m_salt(salt)
|
||||
, m_seq(0)
|
||||
, m_mutable(true)
|
||||
{
|
||||
memcpy(m_pk.data(), pk, item_pk_len);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue