Remove redundant semicolons

This commit is contained in:
Dr. Dystopia
2024-08-18 15:08:44 +02:00
parent 4ff5ff2772
commit 9602f36248
48 changed files with 72 additions and 70 deletions

View File

@ -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.

View File

@ -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;

View File

@ -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: