1
0
Fork 0
forked from suyu/suyu

common/input: Remove unnecessary returns

Given these return void, these can be omitted.
This commit is contained in:
Lioncash 2021-12-13 20:43:09 -05:00
parent 5e7e38ac72
commit 54eafbaf17

View file

@ -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_) {