Parenthesize to avoid GCC warning

This commit is contained in:
David Neto 2019-01-08 18:57:03 -05:00
parent 69932ab47f
commit b11b997d59

View File

@ -2003,7 +2003,7 @@ public:
{ {
// Most commonly, they are both nullptr, or the same pointer to the same actual structure // Most commonly, they are both nullptr, or the same pointer to the same actual structure
if ((!isStruct() && !right.isStruct()) || if ((!isStruct() && !right.isStruct()) ||
isStruct() && right.isStruct() && structure == right.structure) (isStruct() && right.isStruct() && structure == right.structure))
return true; return true;
// Both being nullptr was caught above, now they both have to be structures of the same number of elements // Both being nullptr was caught above, now they both have to be structures of the same number of elements