mirror of
https://github.com/anope/anope.git
synced 2026-06-27 08:46:38 +02:00
Add the anope_override keyword to methods that lack it.
This commit is contained in:
@@ -39,12 +39,12 @@ class MyXMLRPCServiceInterface : public XMLRPCServiceInterface, public HTTPPage
|
||||
public:
|
||||
MyXMLRPCServiceInterface(Module *creator, const Anope::string &sname) : XMLRPCServiceInterface(creator, sname), HTTPPage("/xmlrpc", "text/xml") { }
|
||||
|
||||
void Register(XMLRPCEvent *event)
|
||||
void Register(XMLRPCEvent *event) anope_override
|
||||
{
|
||||
this->events.push_back(event);
|
||||
}
|
||||
|
||||
void Unregister(XMLRPCEvent *event)
|
||||
void Unregister(XMLRPCEvent *event) anope_override
|
||||
{
|
||||
std::deque<XMLRPCEvent *>::iterator it = std::find(this->events.begin(), this->events.end(), event);
|
||||
|
||||
@@ -182,7 +182,7 @@ class MyXMLRPCServiceInterface : public XMLRPCServiceInterface, public HTTPPage
|
||||
return true;
|
||||
}
|
||||
|
||||
void Reply(XMLRPCRequest &request)
|
||||
void Reply(XMLRPCRequest &request) anope_override
|
||||
{
|
||||
if (!request.id.empty())
|
||||
request.reply("id", request.id);
|
||||
|
||||
Reference in New Issue
Block a user