1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-22 04:04:16 +00:00

Inherit _publicly_ from shared_from_this in I2PService

This commit is contained in:
Peter Jankuliak 2018-01-12 11:04:12 +01:00
parent b91efaa973
commit e630b8f8a8

View File

@ -14,7 +14,7 @@ namespace i2p
namespace client namespace client
{ {
class I2PServiceHandler; class I2PServiceHandler;
class I2PService : std::enable_shared_from_this<I2PService> class I2PService : public std::enable_shared_from_this<I2PService>
{ {
public: public:
typedef std::function<void(const boost::system::error_code &)> ReadyCallback; typedef std::function<void(const boost::system::error_code &)> ReadyCallback;