perf. use nullptr

This commit is contained in:
lhhxxxxx
2022-06-06 19:31:48 +08:00
parent 803134d541
commit 7a15449dfe
14 changed files with 36 additions and 36 deletions

View File

@@ -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;