From 4cfe2b7c1b4d5e838e2e9e005dc258113de81f02 Mon Sep 17 00:00:00 2001 From: arvidn Date: Tue, 31 Jul 2018 23:12:35 +0200 Subject: [PATCH] fix warning for calling a virtual function in constructor --- include/libtorrent/peer_connection.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libtorrent/peer_connection.hpp b/include/libtorrent/peer_connection.hpp index f7d007966..3499685e8 100644 --- a/include/libtorrent/peer_connection.hpp +++ b/include/libtorrent/peer_connection.hpp @@ -478,7 +478,7 @@ namespace aux { // a connection is local if it was initiated by us. // if it was an incoming connection, it is remote - bool is_outgoing() const override { return m_outgoing; } + bool is_outgoing() const final { return m_outgoing; } bool received_listen_port() const { return m_received_listen_port; } void received_listen_port()