aboutsummaryrefslogtreecommitdiff
path: root/src/libcmd/command.cc
diff options
context:
space:
mode:
authorBen Burdette <bburdette@gmail.com>2021-12-23 13:36:39 -0700
committerBen Burdette <bburdette@gmail.com>2021-12-23 13:36:39 -0700
commite5eebda19475ab4f25346128e5428c27e526c7ce (patch)
treed9378852871888a9afc369ff2a995ef6755befc6 /src/libcmd/command.cc
parentdeb1fd66e8c884937827813c079135532913ca86 (diff)
DebugTrace
Diffstat (limited to 'src/libcmd/command.cc')
-rw-r--r--src/libcmd/command.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcmd/command.cc b/src/libcmd/command.cc
index 0ada5fa3c..6c0f84c4b 100644
--- a/src/libcmd/command.cc
+++ b/src/libcmd/command.cc
@@ -84,7 +84,7 @@ ref<EvalState> EvalCommand::getEvalState()
if (expr.staticenv)
{
auto vm = mapStaticEnvBindings(*expr.staticenv.get(), env);
- runRepl(evalState, ref<const Error>(&error), *vm);
+ runRepl(evalState, &error, *vm);
}
};
}