diff options
author | Lioncash <mathew1800@gmail.com> | 2021-12-13 20:43:09 -0500 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2021-12-13 20:43:12 -0500 |
commit | 54eafbaf172309d92c6b2c5069de23fc534dd2d2 (patch) | |
tree | 7de751d5f82979461c35c60feb983526618a3b48 /src/common/input.h | |
parent | 5e7e38ac72853eb8477913fb2dda0a2b3f61f85f (diff) |
common/input: Remove unnecessary returns
Given these return void, these can be omitted.
Diffstat (limited to 'src/common/input.h')
-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 0b92449bc4..848ad7b811 100644 --- a/src/common/input.h +++ b/src/common/input.h @@ -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_) { |