mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Make overriding explicit and remove redundant virtual specifiers on overriding destructors - Core & UnitTests
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user