summaryrefslogtreecommitdiff
path: root/methods/http.h
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2024-11-22 14:07:42 +0000
committerJulian Andres Klode <jak@debian.org>2024-11-22 14:07:42 +0000
commitb3c8a3cbb0f51d9cf704ca6a1c050fb50a0fb22d (patch)
treebb6f4b311745f5334d95e0d36c7a2f85384f0ee2 /methods/http.h
parentdcb81196776f5c31063e5f57104b4b021f37aa00 (diff)
parent8c760266c8c736bff62055c008ab74d78f3ed82a (diff)
Merge branch 'fix/warnings' into 'main'
Fix a small bunch of compile-time warnings See merge request apt-team/apt!404
Diffstat (limited to 'methods/http.h')
-rw-r--r--methods/http.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/methods/http.h b/methods/http.h
index cae579afe..5bfcbc8a2 100644
--- a/methods/http.h
+++ b/methods/http.h
@@ -90,7 +90,7 @@ class CircleBuf
~CircleBuf();
};
-struct HttpServerState: public ServerState
+struct HttpServerState final : public ServerState
{
// This is the connection itself. Output is data FROM the server
CircleBuf In;
@@ -121,7 +121,7 @@ struct HttpServerState: public ServerState
virtual ~HttpServerState() {Close();};
};
-class HttpMethod : public BaseHttpMethod
+class HttpMethod final : public BaseHttpMethod
{
public:
virtual void SendReq(FetchItem *Itm) APT_OVERRIDE;