From 4a2a49312b6c33bd73d338ca2744ab66a5cb7a6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Mon, 3 Dec 2018 00:11:00 +0100 Subject: Fix formatting --- sdn.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sdn.cpp b/sdn.cpp index fd78a26..0a5f2ee 100644 --- a/sdn.cpp +++ b/sdn.cpp @@ -743,11 +743,13 @@ fun operator< (const entry &e1, const entry &e2) -> bool { fun reload () { 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(); 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(); string anchor; -- cgit v1.2.3