From b71573f1f6dd7a9198295a9b6a248625b0636808 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