Add missing override keyword:

* Enable the `suggest-override` warning for gcc
* Fix all functions that were flagged by that warning
This commit is contained in:
Joe Loser
2018-05-13 10:55:45 -04:00
committed by seelabs
parent 0ae157a5c3
commit 7c785d0d7c
145 changed files with 276 additions and 271 deletions

View File

@@ -32,7 +32,7 @@ public:
{
}
~NullBackend ()
~NullBackend () override
{
}
@@ -122,13 +122,13 @@ public:
Manager::instance().insert(*this);
}
~NullFactory()
~NullFactory() override
{
Manager::instance().erase(*this);
}
std::string
getName () const
getName () const override
{
return "none";
}
@@ -137,7 +137,7 @@ public:
createInstance (
size_t,
Section const&,
Scheduler&, beast::Journal)
Scheduler&, beast::Journal) override
{
return std::make_unique <NullBackend> ();
}