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,12 +52,12 @@ public:
inline const uint8_t *seed() const { return m_seed; }
inline randomx_cache *get() const { return m_cache; }
bool init(const void *seed);
bool init(const uint8_t *seed);
static inline constexpr size_t size() { return RANDOMX_CACHE_MAX_SIZE; }
private:
bool isReady(const void *seed) const;
bool isReady(const uint8_t *seed) const;
int m_flags = 0;
randomx_cache *m_cache = nullptr;