use shared ClientDestination

This commit is contained in:
orignal 2016-05-25 16:18:02 -04:00
parent 789eb48698
commit c7173d5e1c
6 changed files with 16 additions and 14 deletions

View file

@ -174,7 +174,9 @@ namespace client
private:
void PersistTemporaryKeys ();
std::shared_ptr<ClientDestination> GetSharedFromThis ()
{ return std::static_pointer_cast<ClientDestination>(shared_from_this ()); }
private:
i2p::data::PrivateKeys m_Keys;