From 32d96016bd21fd5dff54503df4222c10662e57e5 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Mon, 30 Sep 2019 10:19:29 +0100 Subject: Fix an shadowing warning in the spanningtree module. --- src/modules/m_spanningtree/treeserver.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/modules/m_spanningtree/treeserver.cpp b/src/modules/m_spanningtree/treeserver.cpp index 6fb6705ba..91bac36f9 100644 --- a/src/modules/m_spanningtree/treeserver.cpp +++ b/src/modules/m_spanningtree/treeserver.cpp @@ -56,8 +56,8 @@ TreeServer::TreeServer() * This constructor initializes the server's Route and Parent, and sets up * the ping timer for the server. */ -TreeServer::TreeServer(const std::string& Name, const std::string& Desc, const std::string& id, TreeServer* Above, TreeSocket* Sock, bool Hide) - : Server(id, Name, Desc) +TreeServer::TreeServer(const std::string& Name, const std::string& Desc, const std::string& Sid, TreeServer* Above, TreeSocket* Sock, bool Hide) + : Server(Sid, Name, Desc) , Parent(Above) , Socket(Sock) , behind_bursting(Parent->behind_bursting) -- cgit v1.2.3