1
0
Fork 0
forked from lthn/blockchain

fixed uninitialized member in idle_callback_conext_base

This commit is contained in:
cryptozoidberg 2019-11-11 01:55:00 +01:00
parent 6e456458bb
commit 2cde1c530d
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC

View file

@ -213,8 +213,8 @@ class boosted_tcp_server
return true;
}
idle_callback_conext_base(boost::asio::io_service& io_serice)
: m_timer(io_serice)
idle_callback_conext_base(boost::asio::io_service& io_serice): m_timer(io_serice),
m_period(0)
{
}
boost::asio::deadline_timer m_timer;