(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:
Glenn Maynard
2003-07-15 00:50:52 +00:00
parent 4c3792f43b
commit d413d6f0be
+1 -1
View File
@@ -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) );
}
}