summaryrefslogtreecommitdiff
path: root/indra/llmath
diff options
context:
space:
mode:
authorMartin Reddy <lynx@lindenlab.com>2009-09-25 16:51:25 +0000
committerMartin Reddy <lynx@lindenlab.com>2009-09-25 16:51:25 +0000
commitb5724bc0e97328a1859fc52b444e0a2edec255dd (patch)
treef19d1df1b3d3baff6870e87040afbc0f2b738195 /indra/llmath
parentaf774fc9dbfd8550d61981b49151b60a7eaade91 (diff)
SNOW-194 DEV-40415: pulling this snowglobe patch into viewer 2.0. This
fixes all of the parentheses warnings in the code. Original patch was reviewed by merov (and others).
Diffstat (limited to 'indra/llmath')
-rw-r--r--indra/llmath/v3math.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llmath/v3math.h b/indra/llmath/v3math.h
index 805d7e6384..06a4f5c542 100644
--- a/indra/llmath/v3math.h
+++ b/indra/llmath/v3math.h
@@ -409,8 +409,8 @@ inline bool operator<(const LLVector3 &a, const LLVector3 &b)
return (a.mV[0] < b.mV[0]
|| (a.mV[0] == b.mV[0]
&& (a.mV[1] < b.mV[1]
- || (a.mV[1] == b.mV[1])
- && a.mV[2] < b.mV[2])));
+ || ((a.mV[1] == b.mV[1])
+ && a.mV[2] < b.mV[2]))));
}
inline const LLVector3& operator+=(LLVector3 &a, const LLVector3 &b)