From e510b9e82b6b8a7c6263fdbdd7d97bdb06ced2c6 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Thu, 14 Nov 2019 23:14:11 -0800 Subject: [PATCH] Remove LogManager reference from public FEXCore header --- include/FEXCore/IR/IntrusiveIRList.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/FEXCore/IR/IntrusiveIRList.h b/include/FEXCore/IR/IntrusiveIRList.h index e1adc3a8e..85c8cb7fd 100644 --- a/include/FEXCore/IR/IntrusiveIRList.h +++ b/include/FEXCore/IR/IntrusiveIRList.h @@ -1,8 +1,8 @@ #pragma once #include "FEXCore/IR/IR.h" -#include "LogManager.h" +#include #include #include #include @@ -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;