diff options
author | Linus Groh <mail@linusgroh.de> | 2021-05-04 15:15:23 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-05-04 15:16:28 +0100 |
commit | 7d40a4a4e748d270b129ebdf0a9700d6f7fdf3ce (patch) | |
tree | fd8d08c6b784ac0a0fa6778d09604e39e85f2dbc /Userland/Libraries/LibCore | |
parent | d224610ecffceb7ecb816f156a31aa828416ac3d (diff) | |
download | serenity-7d40a4a4e748d270b129ebdf0a9700d6f7fdf3ce.zip |
LibCore: Avoid unnecessary Vector copy in Account ctor
Diffstat (limited to 'Userland/Libraries/LibCore')
-rw-r--r-- | Userland/Libraries/LibCore/Account.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibCore/Account.cpp b/Userland/Libraries/LibCore/Account.cpp index af52c709af..7ed8f3b045 100644 --- a/Userland/Libraries/LibCore/Account.cpp +++ b/Userland/Libraries/LibCore/Account.cpp @@ -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)) { } |