Merge pull request #1397 from SChernykh/dev

Fix GCC compilation
This commit is contained in:
xmrig 2019-12-08 22:52:18 +07:00 committed by GitHub
commit 8a13e0febd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,7 +43,7 @@ namespace randomx {
void CompiledVm<softAes>::run(void* seed) {
VmBase<softAes>::generateProgram(seed);
randomx_vm::initialize();
compiler.generateProgram(program, config, getFlags());
compiler.generateProgram(program, config, randomx_vm::getFlags());
mem.memory = datasetPtr->memory + datasetOffset;
execute();
}