mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-29 04:01:27 +01:00
Remove LogManager reference from public FEXCore header
This commit is contained in:
1 parent
b58b5687e0
commit
e510b9e82b
1 file changed
+3
-2
@@ -1,8 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
#include "FEXCore/IR/IR.h"
|
||||
#include "LogManager.h"
|
||||
|
||||
#include <cassert>
|
||||
#include <cstddef>
|
||||
#include <cstring>
|
||||
#include <tuple>
|
||||
@@ -35,7 +35,8 @@ class IntrusiveAllocator final {
|
||||
}
|
||||
|
||||
void *Allocate(size_t Size) {
|
||||
LogMan::Throw::A(CheckSize(Size), "Ran out of space in IntrusiveAllocator during allocation");
|
||||
assert(CheckSize(Size) &&
|
||||
"Ran out of space in IntrusiveAllocator during allocation");
|
||||
size_t NewOffset = CurrentOffset + Size;
|
||||
uintptr_t NewPointer = Data + CurrentOffset;
|
||||
CurrentOffset = NewOffset;
|
||||
|
||||
Reference in new issue
Block a user