(It's supposed to look like a function call; a function call that casts one
type to another.) Use a C-style cast instead of static_cast; more readable.
This commit is contained in:
@@ -85,7 +85,7 @@ void InputFilter::Update(float fDeltaTime)
|
||||
if( int(fOldHoldTime/fTimeBetweenRepeats) != int(fNewHoldTime/fTimeBetweenRepeats) )
|
||||
{
|
||||
RageTimer now;
|
||||
DeviceInput di(static_cast<InputDevice>(d),b,now);
|
||||
DeviceInput di( (InputDevice)d,b,now);
|
||||
queue.push_back( InputEvent(di,iet) );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user