mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-18 18:58:55 +02:00
Make overriding explicit and remove redundant virtual specifiers on overriding destructors - Core & UnitTests
This commit is contained in:
@ -71,11 +71,8 @@ private:
|
||||
: m_name(name), m_input(input), m_range(range), m_offset(offset)
|
||||
{
|
||||
}
|
||||
std::string GetName() const final override { return m_name; }
|
||||
ControlState GetState() const final override
|
||||
{
|
||||
return (ControlState(m_input) + m_offset) / m_range;
|
||||
}
|
||||
std::string GetName() const final { return m_name; }
|
||||
ControlState GetState() const final { return (ControlState(m_input) + m_offset) / m_range; }
|
||||
|
||||
private:
|
||||
const char* m_name;
|
||||
@ -203,7 +200,7 @@ class InputBackend final : public ciface::InputBackend
|
||||
{
|
||||
public:
|
||||
InputBackend(ControllerInterface* controller_interface);
|
||||
~InputBackend();
|
||||
~InputBackend() override;
|
||||
void PopulateDevices() override;
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user