mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
ControllerInterface: Make UpdateInput / UpdateOutput return void
The return values here have never been checked, so it doesn't make sense to return a value to begin with.
This commit is contained in:
parent
61fcfc4bf2
commit
f2787f620e
19 changed files with 35 additions and 76 deletions
|
@ -100,8 +100,8 @@ public:
|
|||
virtual std::string GetName() const = 0;
|
||||
virtual int GetId() const = 0;
|
||||
virtual std::string GetSource() const = 0;
|
||||
virtual bool UpdateInput() { return true; }
|
||||
virtual bool UpdateOutput() { return true; }
|
||||
virtual void UpdateInput() {}
|
||||
virtual void UpdateOutput() {}
|
||||
|
||||
const std::vector<Input*>& Inputs() const { return m_inputs; }
|
||||
const std::vector<Output*>& Outputs() const { return m_outputs; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue