*An additional condition appended to the custom comparator needed for map function...
authorAleksandar Donchev <Aleksander.Donchev@partner.bmw.de>
Wed, 9 Jul 2014 10:43:36 +0000 (12:43 +0200)
committerAleksandar Donchev <Aleksander.Donchev@partner.bmw.de>
Thu, 10 Jul 2014 08:59:51 +0000 (10:59 +0200)
Signed-off-by: Christian Linke <christian.linke@bmw.de>
AudioManagerDaemon/include/CAmRoutingSender.h

index ec31560..d1e26b5 100644 (file)
@@ -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));
         }
     };