summaryrefslogtreecommitdiff
path: root/AudioManagerDaemon/src/CAmDatabaseHandlerMap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'AudioManagerDaemon/src/CAmDatabaseHandlerMap.cpp')
-rw-r--r--AudioManagerDaemon/src/CAmDatabaseHandlerMap.cpp2
1 files changed, 1 insertions, 1 deletions
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<am_connectionID_t, am_Connection_Database_s>& refConnection)
+ [&](const std::pair<am_connectionID_t, am_Connection_Database_s>& refConnection)
{
return (refConnection.second.sinkID == refGateway.second.sinkID ||
refConnection.second.sourceID ==refGateway.second.sourceID);