Merge pull request #1646 from dneto0/parens-warning
Parenthesize to avoid GCC warning
This commit is contained in:
commit
5795f9e387
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user