diff options
| author | 2021-03-02 05:39:12 +0000 | |
|---|---|---|
| committer | 2021-03-02 05:56:56 +0000 | |
| commit | 4e488cb54d72fb4a1caa580f6756a6f4687beaf6 (patch) | |
| tree | ae74c5dc12685a23ede19a299753aed30c336960 /src/modules/m_spanningtree/treeserver.cpp | |
| parent | Move aligned_storage to the utility directory and clean up. (diff) | |
Refactor classbase/CullResult into Cullable/Cullable::Result.
Diffstat (limited to 'src/modules/m_spanningtree/treeserver.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/treeserver.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/m_spanningtree/treeserver.cpp b/src/modules/m_spanningtree/treeserver.cpp index ca9773fde..1d64826e6 100644 --- a/src/modules/m_spanningtree/treeserver.cpp +++ b/src/modules/m_spanningtree/treeserver.cpp @@ -197,7 +197,7 @@ void TreeServer::SQuitChild(TreeServer* server, const std::string& reason, bool if (server->IsLocal()) server->GetSocket()->Close(); - // Add the server to the cull list, the servers behind it are handled by cull() and the destructor + // Add the server to the cull list, the servers behind it are handled by Cull() and the destructor ServerInstance->GlobalCulls.AddItem(server); } @@ -270,18 +270,18 @@ void TreeServer::AddHashEntry() Utils->sidlist[GetId()] = this; } -CullResult TreeServer::cull() +Cullable::Result TreeServer::Cull() { // Recursively cull all servers that are under us in the tree for (ChildServers::const_iterator i = Children.begin(); i != Children.end(); ++i) { TreeServer* server = *i; - server->cull(); + server->Cull(); } if (!IsRoot()) - ServerUser->cull(); - return classbase::cull(); + ServerUser->Cull(); + return Cullable::Cull(); } TreeServer::~TreeServer() |
