diff options
| author | 2021-12-13 20:43:09 -0500 | |
|---|---|---|
| committer | 2021-12-13 20:43:12 -0500 | |
| commit | 54eafbaf172309d92c6b2c5069de23fc534dd2d2 (patch) | |
| tree | 7de751d5f82979461c35c60feb983526618a3b48 | |
| parent | input_poller: Add missing override specifiers (diff) | |
| download | yuzu-54eafbaf172309d92c6b2c5069de23fc534dd2d2.tar.gz yuzu-54eafbaf172309d92c6b2c5069de23fc534dd2d2.tar.xz yuzu-54eafbaf172309d92c6b2c5069de23fc534dd2d2.zip | |
common/input: Remove unnecessary returns
Given these return void, these can be omitted.
| -rw-r--r-- | src/common/input.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/common/input.h b/src/common/input.h index 0b92449bc..848ad7b81 100644 --- a/src/common/input.h +++ b/src/common/input.h | |||
| @@ -236,14 +236,10 @@ public: | |||
| 236 | virtual ~InputDevice() = default; | 236 | virtual ~InputDevice() = default; |
| 237 | 237 | ||
| 238 | // Request input device to update if necessary | 238 | // Request input device to update if necessary |
| 239 | virtual void SoftUpdate() { | 239 | virtual void SoftUpdate() {} |
| 240 | return; | ||
| 241 | } | ||
| 242 | 240 | ||
| 243 | // Force input device to update data regardless of the current state | 241 | // Force input device to update data regardless of the current state |
| 244 | virtual void ForceUpdate() { | 242 | virtual void ForceUpdate() {} |
| 245 | return; | ||
| 246 | } | ||
| 247 | 243 | ||
| 248 | // Sets the function to be triggered when input changes | 244 | // Sets the function to be triggered when input changes |
| 249 | void SetCallback(InputCallback callback_) { | 245 | void SetCallback(InputCallback callback_) { |