Browse Source

copy shared_ptr

pull/225/head
orignal 10 years ago
parent
commit
654357f5ce
  1. 2
      Transports.cpp

2
Transports.cpp

@ -215,7 +215,7 @@ namespace transport @@ -215,7 +215,7 @@ namespace transport
void Transports::SendMessage (const i2p::data::IdentHash& ident, std::shared_ptr<i2p::I2NPMessage> msg)
{
m_Service.post (std::bind (&Transports::PostMessages, this, ident, std::vector<std::shared_ptr<i2p::I2NPMessage> > {msg }));
SendMessages (ident, std::vector<std::shared_ptr<i2p::I2NPMessage> > {msg });
}
void Transports::SendMessages (const i2p::data::IdentHash& ident, const std::vector<std::shared_ptr<i2p::I2NPMessage> >& msgs)

Loading…
Cancel
Save