* fix compilation with gcc 4.7/4.8

This commit is contained in:
hagen 2016-02-10 00:00:00 +00:00
parent d5f831301f
commit 22c388ab18

View file

@ -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 ();