mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-27 06:20:51 -05:00
replace new/delete with sp
This commit is contained in:
@@ -59,7 +59,7 @@ private:
|
||||
bool rdmsr(uint32_t reg, int32_t cpu, uint64_t &value) const;
|
||||
bool wrmsr(uint32_t reg, uint64_t value, int32_t cpu);
|
||||
|
||||
MsrPrivate *d_ptr = nullptr;
|
||||
std::shared_ptr<MsrPrivate> d_ptr;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user