mirror of
https://git.wownero.com/wownero/RandomWOW.git
synced 2024-08-15 00:23:14 +00:00
Merge pull request #127 from SChernykh/master
Set scratchpad pointer to null by default
This commit is contained in:
commit
32f396dd11
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ protected:
|
||||||
alignas(64) randomx::RegisterFile reg;
|
alignas(64) randomx::RegisterFile reg;
|
||||||
alignas(16) randomx::ProgramConfiguration config;
|
alignas(16) randomx::ProgramConfiguration config;
|
||||||
randomx::MemoryRegisters mem;
|
randomx::MemoryRegisters mem;
|
||||||
uint8_t* scratchpad;
|
uint8_t* scratchpad = nullptr;
|
||||||
union {
|
union {
|
||||||
randomx_cache* cachePtr = nullptr;
|
randomx_cache* cachePtr = nullptr;
|
||||||
randomx_dataset* datasetPtr;
|
randomx_dataset* datasetPtr;
|
||||||
|
|
Loading…
Reference in a new issue