Simplify. Vectors are a type of EqualityComparable.

http://www.sgi.com/tech/stl/EqualityComparable.html
This commit is contained in:
Steve Checkoway
2006-07-08 07:07:37 +00:00
parent 6a67028283
commit f66cb8c03c
+1 -1
View File
@@ -644,7 +644,7 @@ bool InputMapper::CheckForChangedInputDevicesAndRemap( RString &sMessageOut )
} }
bool bJoysticksChanged = !VectorsAreEqual(vsCurrentJoysticks,vsLastSeenJoysticks); bool bJoysticksChanged = vsCurrentJoysticks != vsLastSeenJoysticks;
if( !bJoysticksChanged ) if( !bJoysticksChanged )
return false; return false;