Fix error in the no-GC build

This commit is contained in:
John Ericson 2024-06-24 17:17:54 -04:00
parent 5c497a992b
commit 05580a373f

View file

@ -126,9 +126,11 @@ ref<EvalState> EvalCommand::getEvalState()
{
if (!evalState) {
evalState =
std::allocate_shared<EvalState>(
#if HAVE_BOEHMGC
std::allocate_shared<EvalState>(
traceable_allocator<EvalState>(),
#else
std::make_shared<EvalState>(
#endif
lookupPath, getEvalStore(), evalSettings, getStore())
;