Linux makefile

Exception handling
This commit is contained in:
tevador
2019-04-21 15:04:17 +02:00
parent 41b51a4858
commit a8c7137873
6 changed files with 221 additions and 185 deletions
+1 -2
View File
@@ -99,9 +99,8 @@ namespace randomx {
}
template<class Allocator, bool softAes>
bool VmBase<Allocator, softAes>::allocate() {
void VmBase<Allocator, softAes>::allocate() {
scratchpad = (uint8_t*)Allocator::allocMemory(ScratchpadSize);
return scratchpad != nullptr;
}
template<class Allocator, bool softAes>