Make code a bit cleaner and more consistent

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

No files matched your search

+2 -2
View File
@@ -50,7 +50,7 @@ namespace internal {
ObjectProxy( std::unique_ptr<sdbus::internal::IConnection>&& connection
, std::string destination
, std::string objectPath );
~ObjectProxy();
~ObjectProxy() override;
MethodCall createMethodCall(const std::string& interfaceName, const std::string& methodName) override;
MethodReply callMethod(const MethodCall& message) override;
@@ -81,7 +81,7 @@ namespace internal {
struct SignalData
{
signal_handler callback_;
std::unique_ptr<void, std::function<void(void*)>> slot_;
std::unique_ptr<sd_bus_slot, std::function<void(sd_bus_slot*)>> slot_;
};
std::map<SignalName, SignalData> signals_;
};