Minor refactoring; remove const reference where not needed.

This commit is contained in:
Stephen Anthony 2017-08-02 17:53:07 -02:30
parent b35f43d41f
commit b23830487d
2 changed files with 2 additions and 2 deletions

View File

@ -119,7 +119,7 @@ void PointingDevice::setSensitivity(int sensitivity)
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void PointingDevice::updateDirection(const int& counter, float& counterRemainder,
void PointingDevice::updateDirection(int counter, float& counterRemainder,
bool& trackBallDir, int& trackBallLines, int& scanCount, int& firstScanOffset)
{
// Apply sensitivity and calculate remainder

View File

@ -88,7 +88,7 @@ class PointingDevice : public Controller
virtual uInt8 ioPortA(uInt8 countH, uInt8 countV, uInt8 left, uInt8 down) = 0;
private:
void updateDirection(const int& counter, float& counterRemainder,
void updateDirection(int counter, float& counterRemainder,
bool& trackBallDir, int& trackBallLines,
int& scanCount, int& firstScanOffset);