chore: steal arg_v.value from copied arg in unpacking_collector (#4219)

This commit is contained in:
Aaron Gokaslan 2022-10-06 16:11:34 -04:00 committed by GitHub
parent 8275b76912
commit 864ed1120c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1545,7 +1545,7 @@ private:
throw cast_error_unable_to_convert_call_arg(a.name, a.type);
#endif
}
m_kwargs[a.name] = a.value;
m_kwargs[a.name] = std::move(a.value);
}
void process(list & /*args_list*/, detail::kwargs_proxy kp) {