Update util.hpp

This commit is contained in:
Michele Caini 2017-01-18 12:30:39 +01:00 committed by GitHub
parent 9139be8ebf
commit 8bd65303e2

View File

@ -185,7 +185,7 @@ using RUsage = uv_rusage_t;
struct Passwd {
Passwd(std::shared_ptr<uv_passwd_t> _passwd): passwd{_passwd} {}
Passwd(std::shared_ptr<uv_passwd_t> pwd): passwd{pwd} {}
std::string username() const noexcept { return passwd->username; }
Uid uid() const noexcept { return passwd->uid; }