Skip to content
Snippets Groups Projects
Commit b11b997d authored by David Neto's avatar David Neto
Browse files

Parenthesize to avoid GCC warning

parent 69932ab4
No related branches found
No related tags found
No related merge requests found
......@@ -2003,7 +2003,7 @@ public:
{
// Most commonly, they are both nullptr, or the same pointer to the same actual structure
if ((!isStruct() && !right.isStruct()) ||
isStruct() && right.isStruct() && structure == right.structure)
(isStruct() && right.isStruct() && structure == right.structure))
return true;
// Both being nullptr was caught above, now they both have to be structures of the same number of elements
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment