From c6ba7d110fd1339ab4e8ca87c5b30dd9ef7ad758 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Sat, 29 Jul 2017 11:17:43 +0100 Subject: p2p: move m_in_timedsync from connection_context to p2p_connection_context It's got no place in the base class as it's P2P specific field --- src/p2p/net_node.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/p2p/net_node.h b/src/p2p/net_node.h index 8798a52e0..ed00de731 100644 --- a/src/p2p/net_node.h +++ b/src/p2p/net_node.h @@ -61,8 +61,11 @@ namespace nodetool template struct p2p_connection_context_t: base_type //t_payload_net_handler::connection_context //public net_utils::connection_context_base { + p2p_connection_context_t(): support_flags(0), m_in_timedsync(false) {} + peerid_type peer_id; uint32_t support_flags; + bool m_in_timedsync; }; template -- cgit v1.2.3