summaryrefslogtreecommitdiff
path: root/PluginCommandInterfaceDbus
diff options
context:
space:
mode:
Diffstat (limited to 'PluginCommandInterfaceDbus')
-rw-r--r--PluginCommandInterfaceDbus/include/CAmCommandSenderDbus.h2
-rw-r--r--PluginCommandInterfaceDbus/src/CAmCommandSenderDbus.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/PluginCommandInterfaceDbus/include/CAmCommandSenderDbus.h b/PluginCommandInterfaceDbus/include/CAmCommandSenderDbus.h
index ad21109..cb3edcc 100644
--- a/PluginCommandInterfaceDbus/include/CAmCommandSenderDbus.h
+++ b/PluginCommandInterfaceDbus/include/CAmCommandSenderDbus.h
@@ -47,7 +47,7 @@ public:
am_Error_e startupInterface(IAmCommandReceive* commandreceiveinterface);
void setCommandReady(const uint16_t handle);
void setCommandRundown(const uint16_t handle);
- void cbNewMainConnection(const am_MainConnectionType_s mainConnection);
+ void cbNewMainConnection(const am_MainConnectionType_s& mainConnection);
void cbRemovedMainConnection(const am_mainConnectionID_t mainConnection);
void cbNewSink(const am_SinkType_s& sink);
void cbRemovedSink(const am_sinkID_t sinkID);
diff --git a/PluginCommandInterfaceDbus/src/CAmCommandSenderDbus.cpp b/PluginCommandInterfaceDbus/src/CAmCommandSenderDbus.cpp
index 7da6317..f282020 100644
--- a/PluginCommandInterfaceDbus/src/CAmCommandSenderDbus.cpp
+++ b/PluginCommandInterfaceDbus/src/CAmCommandSenderDbus.cpp
@@ -96,7 +96,7 @@ void CAmCommandSenderDbus::setCommandRundown(const uint16_t handle)
*/
}
-void CAmCommandSenderDbus::cbNewMainConnection(const am_MainConnectionType_s mainConnection)
+void CAmCommandSenderDbus::cbNewMainConnection(const am_MainConnectionType_s& mainConnection)
{
(void)mainConnection;
//todo: change xml and interface to differetiate between new connection and removed one