mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Use the override specifier (C++11) where we expect to be overriding the virtual function of a base class
This commit is contained in:
parent
acb11535cb
commit
aa95947ded
18 changed files with 68 additions and 68 deletions
|
|
@ -47,11 +47,11 @@ public:
|
|||
HTTPRPCTimerInterface(struct event_base* _base) : base(_base)
|
||||
{
|
||||
}
|
||||
const char* Name()
|
||||
const char* Name() override
|
||||
{
|
||||
return "HTTP";
|
||||
}
|
||||
RPCTimerBase* NewTimer(std::function<void(void)>& func, int64_t millis)
|
||||
RPCTimerBase* NewTimer(std::function<void(void)>& func, int64_t millis) override
|
||||
{
|
||||
return new HTTPRPCTimer(base, func, millis);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue