mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-20 02:55:38 +08:00
perf. use nullptr
This commit is contained in:
@@ -293,7 +293,7 @@ void Assistant::msg_proc()
|
||||
|
||||
void Assistant::task_callback(AsstMsg msg, const json::value& detail, void* custom_arg)
|
||||
{
|
||||
Assistant* p_this = static_cast<Assistant*>(custom_arg);
|
||||
auto p_this = static_cast<Assistant*>(custom_arg);
|
||||
json::value more_detail = detail;
|
||||
more_detail["uuid"] = p_this->m_uuid;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user