mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-22 10:51:50 -05:00
common/input: Remove unnecessary returns
Given these return void, these can be omitted.
This commit is contained in:
parent
5e7e38ac72
commit
54eafbaf17
1 changed files with 2 additions and 6 deletions
|
@ -236,14 +236,10 @@ public:
|
|||
virtual ~InputDevice() = default;
|
||||
|
||||
// Request input device to update if necessary
|
||||
virtual void SoftUpdate() {
|
||||
return;
|
||||
}
|
||||
virtual void SoftUpdate() {}
|
||||
|
||||
// Force input device to update data regardless of the current state
|
||||
virtual void ForceUpdate() {
|
||||
return;
|
||||
}
|
||||
virtual void ForceUpdate() {}
|
||||
|
||||
// Sets the function to be triggered when input changes
|
||||
void SetCallback(InputCallback callback_) {
|
||||
|
|
Loading…
Reference in a new issue