Fix compile warning, mostly struct/class inconsistency.

This commit is contained in:
XMRig 2019-09-13 18:21:05 +07:00
parent 66fd532ee6
commit 6f5d175d12
7 changed files with 24 additions and 18 deletions

View file

@ -28,10 +28,13 @@
#define XMRIG_RX_VM_H
#include <stdint.h>
#include "base/tools/Object.h"
struct randomx_vm;
#include <cstdint>
class randomx_vm;
namespace xmrig
@ -44,6 +47,8 @@ class RxDataset;
class RxVm
{
public:
XMRIG_DISABLE_COPY_MOVE_DEFAULT(RxVm);
RxVm(RxDataset *dataset, uint8_t *scratchpad, bool softAes);
~RxVm();