未验证 提交 13f626fb 编写于 作者: O Omair Majid 提交者: GitHub

Fix copy-paste error in host_context_test.cpp (#47430)

The code tries to write the status from `rcClose`, but accidentally writes
out the value of `rc` instead.
上级 d42ac98e
......@@ -673,7 +673,7 @@ bool host_context_test::mixed(
int rcClose = hostfxr.close(handle);
if (rcClose != StatusCode::Success)
run_app_output << _X("hostfxr_close failed: ") << std::hex << std::showbase << rc << std::endl;
run_app_output << _X("hostfxr_close failed: ") << std::hex << std::showbase << rcClose << std::endl;
};
std::thread app_start = std::thread(run_app);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册