mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:37:46 +00:00
LibCore: Avoid unnecessary Vector copy in Account ctor
This commit is contained in:
parent
d224610ecf
commit
7d40a4a4e7
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ Account::Account(const passwd& pwd, const spwd& spwd, Vector<gid_t> extra_gids)
|
||||||
, m_gecos(pwd.pw_gecos)
|
, m_gecos(pwd.pw_gecos)
|
||||||
, m_home_directory(pwd.pw_dir)
|
, m_home_directory(pwd.pw_dir)
|
||||||
, m_shell(pwd.pw_shell)
|
, m_shell(pwd.pw_shell)
|
||||||
, m_extra_gids(extra_gids)
|
, m_extra_gids(move(extra_gids))
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue