fix initialization order warnings
This commit is contained in:
@@ -136,14 +136,14 @@ namespace libtorrent
|
|||||||
|
|
||||||
internal_file_entry::internal_file_entry(internal_file_entry const& fe)
|
internal_file_entry::internal_file_entry(internal_file_entry const& fe)
|
||||||
: offset(fe.offset)
|
: offset(fe.offset)
|
||||||
, size(fe.size)
|
|
||||||
, symlink_index(fe.symlink_index)
|
, symlink_index(fe.symlink_index)
|
||||||
|
, no_root_dir(fe.no_root_dir)
|
||||||
|
, size(fe.size)
|
||||||
, name_len(fe.name_len)
|
, name_len(fe.name_len)
|
||||||
, pad_file(fe.pad_file)
|
, pad_file(fe.pad_file)
|
||||||
, hidden_attribute(fe.hidden_attribute)
|
, hidden_attribute(fe.hidden_attribute)
|
||||||
, executable_attribute(fe.executable_attribute)
|
, executable_attribute(fe.executable_attribute)
|
||||||
, symlink_attribute(fe.symlink_attribute)
|
, symlink_attribute(fe.symlink_attribute)
|
||||||
, no_root_dir(fe.no_root_dir)
|
|
||||||
, name(0)
|
, name(0)
|
||||||
, path_index(fe.path_index)
|
, path_index(fe.path_index)
|
||||||
{
|
{
|
||||||
|
@@ -57,8 +57,8 @@ TORRENT_DEFINE_LOG(table)
|
|||||||
|
|
||||||
routing_table::routing_table(node_id const& id, int bucket_size
|
routing_table::routing_table(node_id const& id, int bucket_size
|
||||||
, dht_settings const& settings)
|
, dht_settings const& settings)
|
||||||
: m_bucket_size(bucket_size)
|
: m_settings(settings)
|
||||||
, m_settings(settings)
|
, m_bucket_size(bucket_size)
|
||||||
, m_id(id)
|
, m_id(id)
|
||||||
, m_depth(0)
|
, m_depth(0)
|
||||||
, m_last_bootstrap(min_time())
|
, m_last_bootstrap(min_time())
|
||||||
|
Reference in New Issue
Block a user