Skip to content

Commit

Permalink
Add missing constructor overload for ProxyInterfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
sangelovic committed Aug 6, 2018
1 parent 234145c commit ec06462
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions include/sdbus-c++/Interfaces.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

};

}
Expand Down

0 comments on commit ec06462

Please sign in to comment.