diff --git a/indra/llmath/v4math.h b/indra/llmath/v4math.h
index d91d5ee1b1bca3094ebedefdd998f63dc4bf7a51..3f98600b407c8602ff619d85a03b12d59a346579 100644
--- a/indra/llmath/v4math.h
+++ b/indra/llmath/v4math.h
@@ -479,7 +479,7 @@ inline LLVector4 operator-(const LLVector4 &a)
 // [RLVa:KB] - RlvBehaviourModifierCompMin/Max
 inline bool operator<(const LLVector4& lhs, const LLVector4& rhs)
 {
-	return std::tie(lhs.mV[0], lhs.mV[1], lhs.mV[2], rhs.mV[3]) < std::tie(rhs.mV[0], rhs.mV[1], rhs.mV[2], rhs.mV[3]);
+	return std::tie(lhs.mV[0], lhs.mV[1], lhs.mV[2], lhs.mV[3]) < std::tie(rhs.mV[0], rhs.mV[1], rhs.mV[2], rhs.mV[3]);
 }
 // [/RLVa:KB]