From 7cf9bfbcec453ea244e7f66ca5a76af99a73b7cb Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Fri, 18 Oct 2019 13:53:51 +0100 Subject: Fix a shadowing warning in LocalUser. --- src/users.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/users.cpp b/src/users.cpp index 01bad8b61..69483ac92 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -112,8 +112,8 @@ LocalUser::LocalUser(int myfd, irc::sockets::sockaddrs* client, irc::sockets::so ChangeRealHost(GetIPString(), true); } -LocalUser::LocalUser(int myfd, const std::string& uuid, Serializable::Data& data) - : User(uuid, ServerInstance->FakeClient->server, USERTYPE_LOCAL) +LocalUser::LocalUser(int myfd, const std::string& uid, Serializable::Data& data) + : User(uid, ServerInstance->FakeClient->server, USERTYPE_LOCAL) , eh(this) , already_sent(0) { -- cgit v1.2.3