summaryrefslogtreecommitdiff
path: root/indra/llmath/lloctree.h
diff options
context:
space:
mode:
authorcallum_linden <none@none>2014-10-17 14:17:58 -0700
committercallum_linden <none@none>2014-10-17 14:17:58 -0700
commitc02ba7ceb5ca3fad58b232ac04f3a702dbb374cf (patch)
treee478e90371f41cb05a72e863b6dc8aaf708c1282 /indra/llmath/lloctree.h
parent8db1250b73b89727b60ba852bb65cf09ff824993 (diff)
Update to build on Xcode 6.0: collection of similar possibly incorrect logical comparison grouping [-Wlogical-op-parentheses] fixes for clang
Diffstat (limited to 'indra/llmath/lloctree.h')
-rwxr-xr-xindra/llmath/lloctree.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llmath/lloctree.h b/indra/llmath/lloctree.h
index 7b5240c651..4889da246e 100755
--- a/indra/llmath/lloctree.h
+++ b/indra/llmath/lloctree.h
@@ -322,8 +322,8 @@ public:
//is it here?
if (isInside(data->getPositionGroup()))
{
- if (((getElementCount() < gOctreeMaxCapacity || getSize()[0] <= gOctreeMinSize) && contains(data->getBinRadius()) ||
- (data->getBinRadius() > getSize()[0] && parent && parent->getElementCount() >= gOctreeMaxCapacity)))
+ if (((getElementCount() < gOctreeMaxCapacity || ((getSize()[0] <= gOctreeMinSize) && contains(data->getBinRadius()))) ||
+ ((data->getBinRadius() > getSize()[0] && parent && parent->getElementCount() >= gOctreeMaxCapacity))))
{ //it belongs here
mData.push_back(NULL);
mData[mElementCount] = data;