Unverified Commit 5795f9e3 by John Kessenich Committed by GitHub

Merge pull request #1646 from dneto0/parens-warning

Parenthesize to avoid GCC warning
parents 69932ab4 b11b997d
...@@ -2003,7 +2003,7 @@ public: ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment