diff options
Diffstat (limited to 'idlc')
-rw-r--r-- | idlc/source/astinterface.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/idlc/source/astinterface.cxx b/idlc/source/astinterface.cxx index 4a368a8e3408..ebd254bc613f 100644 --- a/idlc/source/astinterface.cxx +++ b/idlc/source/astinterface.cxx @@ -304,7 +304,7 @@ void AstInterface::checkInheritedInterfaceClashes( return; case INTERFACE_DIRECT_MANDATORY: - if (direct || !optional && !mainOptional) { + if (direct || (!optional && !mainOptional)) { doubleDeclarations.interfaces.push_back(ifc); } return; |