From a2edae5cee4254b933f42399edc0e092abd4f5cf Mon Sep 17 00:00:00 2001 From: Aleksandar Donchev Date: Mon, 2 Sep 2013 11:57:28 +0200 Subject: *PluginCommandInterfaceCAPI, PluginRoutingInterfaceCAPI, NodeStateCommunicatorCAPI with unit tests first version. Choosing between DBUS and Common-API via cmake. CommonAPI - legacy support for DBus properties (Set 1) Signed-off-by: Christian Linke (cherry picked from commit ea96ef59e29466667c90b506426e2a5a9cdb82d2) --- AudioManagerDaemon/src/CAmDatabaseHandlerMap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'AudioManagerDaemon/src/CAmDatabaseHandlerMap.cpp') diff --git a/AudioManagerDaemon/src/CAmDatabaseHandlerMap.cpp b/AudioManagerDaemon/src/CAmDatabaseHandlerMap.cpp index ba19641..3e83cc5 100644 --- a/AudioManagerDaemon/src/CAmDatabaseHandlerMap.cpp +++ b/AudioManagerDaemon/src/CAmDatabaseHandlerMap.cpp @@ -2418,7 +2418,7 @@ am_Error_e CAmDatabaseHandlerMap::getRoutingTree(bool onlyfree, CAmRoutingTree& { if(!onlyfree || std::find_if(mMappedData.mConnectionMap.begin(), mMappedData.mConnectionMap.end(), - [refGateway](const std::pair& refConnection) + [&](const std::pair& refConnection) { return (refConnection.second.sinkID == refGateway.second.sinkID || refConnection.second.sourceID ==refGateway.second.sourceID); -- cgit v1.2.1