mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 04:04:16 +00:00
* fix compilation with gcc 4.7/4.8
This commit is contained in:
parent
d5f831301f
commit
22c388ab18
@ -878,7 +878,7 @@ namespace stream
|
|||||||
it->second.push_back (packet);
|
it->second.push_back (packet);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
m_SavedPackets.emplace (receiveStreamID, std::list<Packet *>{ packet });
|
m_SavedPackets[receiveStreamID] = std::list<Packet *>{ packet };
|
||||||
auto timer = std::make_shared<boost::asio::deadline_timer> (m_Owner->GetService ());
|
auto timer = std::make_shared<boost::asio::deadline_timer> (m_Owner->GetService ());
|
||||||
timer->expires_from_now (boost::posix_time::seconds(PENDING_INCOMING_TIMEOUT));
|
timer->expires_from_now (boost::posix_time::seconds(PENDING_INCOMING_TIMEOUT));
|
||||||
auto s = shared_from_this ();
|
auto s = shared_from_this ();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user