Add missing constructor overload for ProxyInterfaces

This commit is contained in:
sangelovic
2018-08-06 22:58:36 +02:00
parent 234145cade
commit ec06462713

View File

@@ -113,6 +113,14 @@ namespace sdbus {
{
getObject().finishRegistration();
}
ProxyInterfaces(std::unique_ptr<sdbus::IConnection>&& connection, std::string destination, std::string objectPath)
: ObjectHolder<IObjectProxy>(createObjectProxy(std::move(connection), std::move(destination), std::move(objectPath)))
, _Interfaces(getObject())...
{
getObject().finishRegistration();
}
};
}