mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 09:50:40 +08:00
style: 优化部分 initializer_list 的格式
This commit is contained in:
@@ -1218,10 +1218,12 @@ cv::Mat asst::Controller::get_image(bool raw)
|
||||
}
|
||||
if (!success && !need_exit()) {
|
||||
Log.error(__FUNCTION__, "screencap failed!");
|
||||
json::value info = json::object { { "uuid", m_uuid },
|
||||
{ "what", "ScreencapFailed" },
|
||||
{ "why", "ScreencapFailed" },
|
||||
{ "details", json::object {} } };
|
||||
json::value info = json::object {
|
||||
{ "uuid", m_uuid },
|
||||
{ "what", "ScreencapFailed" },
|
||||
{ "why", "ScreencapFailed" },
|
||||
{ "details", json::object {} },
|
||||
};
|
||||
m_callback(AsstMsg::ConnectionInfo, info, m_callback_arg);
|
||||
|
||||
const static cv::Size d_size(m_scale_size.first, m_scale_size.second);
|
||||
|
||||
Reference in New Issue
Block a user