summaryrefslogtreecommitdiff
path: root/idlc/source/astinterface.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'idlc/source/astinterface.cxx')
-rw-r--r--idlc/source/astinterface.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/idlc/source/astinterface.cxx b/idlc/source/astinterface.cxx
index 8fc4ed0f992c..e8dd63b12b1c 100644
--- a/idlc/source/astinterface.cxx
+++ b/idlc/source/astinterface.cxx
@@ -58,8 +58,7 @@ AstInterface::DoubleDeclarations AstInterface::checkInheritedInterfaceClashes(
void AstInterface::addInheritedInterface(
AstType const * ifc, bool optional, OUString const & documentation)
{
- m_inheritedInterfaces.push_back(
- InheritedInterface(ifc, optional, documentation));
+ m_inheritedInterfaces.emplace_back(ifc, optional, documentation);
if (!optional) {
++m_mandatoryInterfaces;
}