Browse Source

* fix compilation with gcc 4.7/4.8

pull/373/head
hagen 9 years ago
parent
commit
22c388ab18
  1. 2
      Streaming.cpp

2
Streaming.cpp

@ -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…
Cancel
Save