diff --git a/src/file_storage.cpp b/src/file_storage.cpp index 5cc7d6961..1f32ea681 100644 --- a/src/file_storage.cpp +++ b/src/file_storage.cpp @@ -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) { diff --git a/src/kademlia/routing_table.cpp b/src/kademlia/routing_table.cpp index b17335463..bb0ab834a 100644 --- a/src/kademlia/routing_table.cpp +++ b/src/kademlia/routing_table.cpp @@ -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())