diff --git a/glslang/Include/ConstantUnion.h b/glslang/Include/ConstantUnion.h index f66a7ff5192d351ae59942c1de46a4c636266c63..eb28f21c3e4909d478fa0fccbf009cf5ff6a23e1 100644 --- a/glslang/Include/ConstantUnion.h +++ b/glslang/Include/ConstantUnion.h @@ -595,9 +595,6 @@ public: if (! unionArray || ! rhs.unionArray) return false; - if (! unionArray || ! rhs.unionArray) - return false; - return *unionArray == *rhs.unionArray; } bool operator!=(const TConstUnionArray& rhs) const { return ! operator==(rhs); }