From 3e25e56f0e8c74a70213e0f1a8734bb77229211d Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 12 May 2014 07:57:58 +0000 Subject: [PATCH] fix initialization order warning --- src/bt_peer_connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bt_peer_connection.cpp b/src/bt_peer_connection.cpp index 6860ceedd..a016fcdb7 100644 --- a/src/bt_peer_connection.cpp +++ b/src/bt_peer_connection.cpp @@ -119,11 +119,11 @@ namespace libtorrent , m_encrypted(false) , m_rc4_encrypted(false) #endif - , m_our_peer_id(pid) #ifndef TORRENT_DISABLE_EXTENSIONS , m_upload_only_id(0) , m_holepunch_id(0) #endif + , m_our_peer_id(pid) #ifndef TORRENT_DISABLE_ENCRYPTION , m_sync_bytes_read(0) #endif