Fix formatting

This commit is contained in:
Přemysl Eric Janouch 2018-12-03 00:11:00 +01:00
parent 7174b507d3
commit 4a2a49312b
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 4 additions and 2 deletions

View File

@ -743,11 +743,13 @@ fun operator< (const entry &e1, const entry &e2) -> bool {
fun reload () { fun reload () {
g.unames.clear(); g.unames.clear();
while (auto *ent = getpwent ()) g.unames.emplace(ent->pw_uid, ent->pw_name); while (auto *ent = getpwent ())
g.unames.emplace (ent->pw_uid, ent->pw_name);
endpwent(); endpwent();
g.gnames.clear(); g.gnames.clear();
while (auto *ent = getgrent ()) g.gnames.emplace(ent->gr_gid, ent->gr_name); while (auto *ent = getgrent ())
g.gnames.emplace (ent->gr_gid, ent->gr_name);
endgrent(); endgrent();
string anchor; string anchor;