summaryrefslogtreecommitdiff
path: root/methods/http.cc
diff options
context:
space:
mode:
Diffstat (limited to 'methods/http.cc')
-rw-r--r--methods/http.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/methods/http.cc b/methods/http.cc
index 3574bcad5..f2514eb9d 100644
--- a/methods/http.cc
+++ b/methods/http.cc
@@ -284,9 +284,9 @@ struct HttpConnectFd final : public MethodFd
std::unique_ptr<MethodFd> UnderlyingFd;
std::string Buffer;
- int Fd() APT_OVERRIDE { return UnderlyingFd->Fd(); }
+ int Fd() override { return UnderlyingFd->Fd(); }
- ssize_t Read(void *buf, size_t count) APT_OVERRIDE
+ ssize_t Read(void *buf, size_t count) override
{
if (!Buffer.empty())
{
@@ -299,17 +299,17 @@ struct HttpConnectFd final : public MethodFd
return UnderlyingFd->Read(buf, count);
}
- ssize_t Write(void *buf, size_t count) APT_OVERRIDE
+ ssize_t Write(void *buf, size_t count) override
{
return UnderlyingFd->Write(buf, count);
}
- int Close() APT_OVERRIDE
+ int Close() override
{
return UnderlyingFd->Close();
}
- bool HasPending() APT_OVERRIDE
+ bool HasPending() override
{
return !Buffer.empty();
}