Changed init signature.

This commit is contained in:
XMRig
2019-08-05 16:00:48 +07:00
parent fefce7cc89
commit 651d4326d3
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;