mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-11-30 17:18:42 +00:00
refactor: clarify C++ declarations across 13 Sonar rules (#5934)
This commit is contained in:
1 parent
2e4d4f5ac0
commit
a36b9f8a9c
44 files changed
+342
-162
No files matched your search
+1
-1
@@ -947,7 +947,7 @@ namespace input {
|
||||
* when the last mouse coordinates were absolute
|
||||
*/
|
||||
if (button == BUTTON_LEFT && release && !input->mouse_left_button_timeout) {
|
||||
auto f = [=]() {
|
||||
auto f = [input, release]() {
|
||||
if (auto left_released = mouse_press[BUTTON_LEFT]; left_released) {
|
||||
// Already released left button
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user