fix initialization order warnings

This commit is contained in:
Arvid Norberg 2013-11-28 08:48:17 +00:00
parent 54d5222347
commit f11959b235
2 changed files with 4 additions and 4 deletions

View File

@ -136,14 +136,14 @@ namespace libtorrent
internal_file_entry::internal_file_entry(internal_file_entry const& fe)
: offset(fe.offset)
, size(fe.size)
, symlink_index(fe.symlink_index)
, no_root_dir(fe.no_root_dir)
, size(fe.size)
, name_len(fe.name_len)
, pad_file(fe.pad_file)
, hidden_attribute(fe.hidden_attribute)
, executable_attribute(fe.executable_attribute)
, symlink_attribute(fe.symlink_attribute)
, no_root_dir(fe.no_root_dir)
, name(0)
, path_index(fe.path_index)
{

View File

@ -57,8 +57,8 @@ TORRENT_DEFINE_LOG(table)
routing_table::routing_table(node_id const& id, int bucket_size
, dht_settings const& settings)
: m_bucket_size(bucket_size)
, m_settings(settings)
: m_settings(settings)
, m_bucket_size(bucket_size)
, m_id(id)
, m_depth(0)
, m_last_bootstrap(min_time())