1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:17:35 +00:00

LibCore: Avoid unnecessary Vector copy in Account ctor

This commit is contained in:
Linus Groh 2021-05-04 15:15:23 +01:00
parent d224610ecf
commit 7d40a4a4e7

View file

@ -172,7 +172,7 @@ Account::Account(const passwd& pwd, const spwd& spwd, Vector<gid_t> extra_gids)
, m_gecos(pwd.pw_gecos)
, m_home_directory(pwd.pw_dir)
, m_shell(pwd.pw_shell)
, m_extra_gids(extra_gids)
, m_extra_gids(move(extra_gids))
{
}