mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-11-22 22:55:44 +01:00
common/input: Remove unnecessary returns
Given these return void, these can be omitted.
This commit is contained in:
parent
5e7e38ac72
commit
54eafbaf17
@ -236,14 +236,10 @@ public:
|
|||||||
virtual ~InputDevice() = default;
|
virtual ~InputDevice() = default;
|
||||||
|
|
||||||
// Request input device to update if necessary
|
// Request input device to update if necessary
|
||||||
virtual void SoftUpdate() {
|
virtual void SoftUpdate() {}
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Force input device to update data regardless of the current state
|
// Force input device to update data regardless of the current state
|
||||||
virtual void ForceUpdate() {
|
virtual void ForceUpdate() {}
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Sets the function to be triggered when input changes
|
// Sets the function to be triggered when input changes
|
||||||
void SetCallback(InputCallback callback_) {
|
void SetCallback(InputCallback callback_) {
|
||||||
|
Loading…
Reference in New Issue
Block a user