mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 21:37:17 +01: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);
|
||||
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 ());
|
||||
timer->expires_from_now (boost::posix_time::seconds(PENDING_INCOMING_TIMEOUT));
|
||||
auto s = shared_from_this ();
|
||||
|
|
Loading…
Reference in a new issue