mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-30 15:12:53 -05:00
replace new/delete with sp
This commit is contained in:
@@ -38,8 +38,7 @@ class RxDataset;
|
||||
class RxVm
|
||||
{
|
||||
public:
|
||||
static randomx_vm *create(RxDataset *dataset, uint8_t *scratchpad, bool softAes, const Assembly &assembly, uint32_t node);
|
||||
static void destroy(randomx_vm *vm);
|
||||
static std::shared_ptr<randomx_vm> create(RxDataset *dataset, uint8_t *scratchpad, bool softAes, const Assembly &assembly, uint32_t node);
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user