mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-15 02:52:38 -05:00
replace new/delete with sp
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
#ifndef XMRIG_TASKBAR_H
|
||||
#define XMRIG_TASKBAR_H
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace xmrig {
|
||||
|
||||
@@ -39,7 +40,7 @@ private:
|
||||
bool m_active = false;
|
||||
bool m_enabled = true;
|
||||
|
||||
TaskbarPrivate* d_ptr = nullptr;
|
||||
std::shared_ptr<TaskbarPrivate> d_ptr;
|
||||
|
||||
void updateTaskbarColor();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user