1
0
mirror of https://github.com/anope/anope.git synced 2026-07-05 18:43:12 +02:00

Remove or fix various useless uses of const.

This commit is contained in:
Sadie Powell
2025-12-17 14:10:42 +00:00
parent 3e8c5b2685
commit 0f433ebe9c
11 changed files with 14 additions and 14 deletions
+3 -3
View File
@@ -85,7 +85,7 @@ public:
}
void OnConnect() override = 0;
virtual const Anope::string GetType() const = 0;
virtual const char *GetType() const = 0;
protected:
void Ban()
@@ -134,7 +134,7 @@ public:
this->Write("");
}
const Anope::string GetType() const override
const char *GetType() const override
{
return "HTTP";
}
@@ -187,7 +187,7 @@ public:
this->Write(buf, ptr);
}
const Anope::string GetType() const override
const char *GetType() const override
{
return "SOCKS5";
}