From 9602f36248edec803275128a0a327e3355f9472d Mon Sep 17 00:00:00 2001 From: "Dr. Dystopia" Date: Sun, 18 Aug 2024 15:08:44 +0200 Subject: Remove redundant semicolons --- Source/Core/InputCommon/ControlReference/ExpressionParser.cpp | 2 +- Source/Core/InputCommon/ControllerEmu/StickGate.h | 2 +- Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp | 8 +++++--- 3 files changed, 7 insertions(+), 5 deletions(-) (limited to 'Source/Core/InputCommon') 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: -- cgit v1.2.3