Fix missing const caught by clang-tidy.

This commit is contained in:
Stephen Anthony 2023-01-28 19:22:31 -03:30
parent 4d8d30bd96
commit e7b0fcc45c
1 changed files with 1 additions and 1 deletions

View File

@ -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