mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 18:01:56 +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
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue