mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-15 23:08:51 +00:00
Make overriding explicit and remove redundant virtual specifiers on overriding destructors - Core & UnitTests
This commit is contained in:
parent
0b0151770a
commit
f240e20e3f
130 changed files with 195 additions and 199 deletions
|
@ -51,7 +51,7 @@ public:
|
|||
|
||||
std::string GetName() const override { return m_name; }
|
||||
|
||||
ControlState GetState() const final override { return ControlState(m_value) / m_extent; }
|
||||
ControlState GetState() const final { return ControlState(m_value) / m_extent; }
|
||||
|
||||
protected:
|
||||
const T& m_value;
|
||||
|
|
|
@ -29,7 +29,7 @@ class Device final : public Core::Device
|
|||
{
|
||||
public:
|
||||
Device(std::unique_ptr<WiimoteReal::Wiimote> wiimote);
|
||||
~Device();
|
||||
~Device() override;
|
||||
|
||||
std::string GetName() const override;
|
||||
std::string GetSource() const override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue