From e7b0fcc45c74f4628272810536e0ce09839199f0 Mon Sep 17 00:00:00 2001 From: Stephen Anthony Date: Sat, 28 Jan 2023 19:22:31 -0330 Subject: [PATCH] Fix missing const caught by clang-tidy. --- src/emucore/Driving.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emucore/Driving.cxx b/src/emucore/Driving.cxx index aced4ed66..25680b601 100644 --- a/src/emucore/Driving.cxx +++ b/src/emucore/Driving.cxx @@ -147,7 +147,7 @@ void Driving::updateControllerAxes() // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - void Driving::updateMouseAxes() { - Int32 oldCounter = myCounter; + const Int32 oldCounter = myCounter; static constexpr int MJ_Threshold = 2; // Mouse motion and button events