mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-19 18:15:50 +00:00
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:
@@ -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> ();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user