diff options
| author | Tilka <tilkax@gmail.com> | 2024-08-21 01:52:16 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-21 01:52:16 +0100 |
| commit | 7b8b733b11b18875cb702615dfabb852db024d52 (patch) | |
| tree | aac1bcc5de72be1637b5f64e3d39a73df8d9d450 /Source/Core/InputCommon | |
| parent | 44f1a7586565307155b329d911a57fbf65785a57 (diff) | |
| parent | 9602f36248edec803275128a0a327e3355f9472d (diff) | |
Merge pull request #13022 from tygyh/Remove-redundant-semicolons
Remove redundant semicolons
Diffstat (limited to 'Source/Core/InputCommon')
3 files changed, 7 insertions, 5 deletions
diff --git a/Source/Core/InputCommon/ControlReference/ExpressionParser.cpp b/Source/Core/InputCommon/ControlReference/ExpressionParser.cpp index 2e2adab6c0..b558d6b78f 100644 --- a/Source/Core/InputCommon/ControlReference/ExpressionParser.cpp +++ b/Source/Core/InputCommon/ControlReference/ExpressionParser.cpp @@ -283,7 +283,7 @@ public: m_output = env.FindOutput(m_qualifier); } - Device::Input* GetInput() const { return m_input; }; + Device::Input* GetInput() const { return m_input; } private: // Keep a shared_ptr to the device so the control pointer doesn't become invalid. diff --git a/Source/Core/InputCommon/ControllerEmu/StickGate.h b/Source/Core/InputCommon/ControllerEmu/StickGate.h index c618a0a4b4..000ca993f7 100644 --- a/Source/Core/InputCommon/ControllerEmu/StickGate.h +++ b/Source/Core/InputCommon/ControllerEmu/StickGate.h @@ -87,7 +87,7 @@ public: ControlState GetDeadzonePercentage() const; - virtual ControlState GetVirtualNotchSize() const { return 0.0; }; + virtual ControlState GetVirtualNotchSize() const { return 0.0; } virtual ControlState GetGateRadiusAtAngle(double angle) const = 0; virtual ReshapeData GetReshapableState(bool adjusted) const = 0; diff --git a/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp b/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp index feb1f8f4ce..0dfcd51281 100644 --- a/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp +++ b/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp @@ -244,10 +244,12 @@ private: public: MotionInput(std::string name, SDL_GameController* gc, SDL_SensorType type, int index, ControlState scale) - : m_name(std::move(name)), m_gc(gc), m_type(type), m_index(index), m_scale(scale){}; + : m_name(std::move(name)), m_gc(gc), m_type(type), m_index(index), m_scale(scale) + { + } - std::string GetName() const override { return m_name; }; - bool IsDetectable() const override { return false; }; + std::string GetName() const override { return m_name; } + bool IsDetectable() const override { return false; } ControlState GetState() const override; private: |
