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_httpd.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_httpd.cpp')
| -rw-r--r-- | src/modules/m_httpd.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_httpd.cpp b/src/modules/m_httpd.cpp index bb524a696..9a2006035 100644 --- a/src/modules/m_httpd.cpp +++ b/src/modules/m_httpd.cpp @@ -448,20 +448,20 @@ class ModuleHttpServer : public Module ++i; if (sock->GetModHook(mod)) { - sock->cull(); + sock->Cull(); delete sock; } } } - CullResult cull() override + Cullable::Result Cull() override { for (insp::intrusive_list<HttpServerSocket>::const_iterator i = sockets.begin(); i != sockets.end(); ++i) { HttpServerSocket* sock = *i; sock->Close(); } - return Module::cull(); + return Module::Cull(); } }; |
