summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksandar Donchev <Aleksander.Donchev@partner.bmw.de>2014-07-09 10:43:36 (GMT)
committerAleksandar Donchev <Aleksander.Donchev@partner.bmw.de>2014-07-10 08:59:51 (GMT)
commitbf8c74f698d7ed5174d3157933079a27b2452cb2 (patch)
tree0b876e38e4b9ea46911624ff51b5400e68996ade
parent8e8f3b525ff1898732196581c4cf05275940bdc3 (diff)
downloadaudiomanager-bf8c74f698d7ed5174d3157933079a27b2452cb2.tar.gz
*An additional condition appended to the custom comparator needed for map function 'find'.
Signed-off-by: Christian Linke <christian.linke@bmw.de>
-rw-r--r--AudioManagerDaemon/include/CAmRoutingSender.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/AudioManagerDaemon/include/CAmRoutingSender.h b/AudioManagerDaemon/include/CAmRoutingSender.h
index ec31560..d1e26b5 100644
--- a/AudioManagerDaemon/include/CAmRoutingSender.h
+++ b/AudioManagerDaemon/include/CAmRoutingSender.h
@@ -118,7 +118,7 @@ private:
{
bool operator()(const am_Handle_s& a, const am_Handle_s& b) const
{
- return (a.handle < b.handle);
+ return (a.handle<b.handle || (a.handle==b.handle && a.handleType<b.handleType));
}
};