Make code a bit cleaner and more consistent

This commit is contained in:
sangelovic
2019-03-19 20:11:18 +01:00
parent b9ce1ca3ce
commit 41a10d644f
7 changed files with 59 additions and 59 deletions

View File

@@ -131,7 +131,7 @@ void ObjectProxy::registerSignalHandlers(sdbus::internal::IConnection& connectio
, &ObjectProxy::sdbus_signal_callback
, this );
slot.reset(rawSlotPtr);
slot.get_deleter() = [&connection](void *slot){ connection.unregisterSignalHandler(slot); };
slot.get_deleter() = [&connection](sd_bus_slot *slot){ connection.unregisterSignalHandler(slot); };
}
}
}