From f66cb8c03c9a732229ff2dfa2513fdde849f7cf3 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Sat, 8 Jul 2006 07:07:37 +0000 Subject: [PATCH] Simplify. Vectors are a type of EqualityComparable. http://www.sgi.com/tech/stl/EqualityComparable.html --- stepmania/src/InputMapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/InputMapper.cpp b/stepmania/src/InputMapper.cpp index b9bda579b6..4a451e808e 100644 --- a/stepmania/src/InputMapper.cpp +++ b/stepmania/src/InputMapper.cpp @@ -644,7 +644,7 @@ bool InputMapper::CheckForChangedInputDevicesAndRemap( RString &sMessageOut ) } - bool bJoysticksChanged = !VectorsAreEqual(vsCurrentJoysticks,vsLastSeenJoysticks); + bool bJoysticksChanged = vsCurrentJoysticks != vsLastSeenJoysticks; if( !bJoysticksChanged ) return false;