refactor: object manager API (#438)

This makes the signature of addObjectManager() function overloads consistent with common API design of the library.
This commit is contained in:
Stanislav Angelovič
2024-04-24 20:20:29 +02:00
parent 26c6da11be
commit 2bc9d3ebb3
9 changed files with 45 additions and 26 deletions
+1 -1
View File
@@ -189,7 +189,7 @@ ISdBus& Connection::getSdBusInterface()
return *sdbus_.get();
}
void Connection::addObjectManager(const ObjectPath& objectPath, floating_slot_t)
void Connection::addObjectManager(const ObjectPath& objectPath)
{
auto r = sdbus_->sd_bus_add_object_manager(bus_.get(), nullptr, objectPath.c_str());