Changed init signature.

This commit is contained in:
XMRig 2019-08-05 16:00:48 +07:00
parent a8e86c3530
commit 044fbd7e82
4 changed files with 6 additions and 6 deletions

View file

@ -52,7 +52,7 @@ public:
inline randomx_dataset *get() const { return m_dataset; }
inline RxCache *cache() const { return m_cache; }
bool init(const void *seed, uint32_t numThreads);
bool init(const uint8_t *seed, uint32_t numThreads);
std::pair<size_t, size_t> hugePages() const;
static inline constexpr size_t size() { return RANDOMX_DATASET_MAX_SIZE; }