mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-16 11:12:47 -05:00
replace new/delete with sp
This commit is contained in:
@@ -49,7 +49,7 @@ public:
|
||||
|
||||
protected:
|
||||
inline bool isActive() const override { return m_active; }
|
||||
inline IClient *client() const override { return m_client; }
|
||||
inline IClient* client() const override { return m_client.get(); }
|
||||
|
||||
int64_t submit(const JobResult &result) override;
|
||||
void connect() override;
|
||||
@@ -68,7 +68,7 @@ protected:
|
||||
|
||||
private:
|
||||
bool m_active;
|
||||
IClient *m_client;
|
||||
std::shared_ptr<IClient> m_client;
|
||||
IStrategyListener *m_listener;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user