Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c0e88c21 authored by Arman Uguray's avatar Arman Uguray
Browse files

service: Fix bug in RemoteCallbackMap

Fixed a bug in RemoteCallbackMap that returned the wrong value
in one of the template functions that wasn't exercised before.

Bug: 23793954
Change-Id: Id6848bd08e6941d3c8c6d6e4d6e494a0b9dc4c69
parent 57206644
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -175,7 +175,7 @@ sp<V> RemoteCallbackMap<K, V>::Get(const K& key) {
  if (iter == map_.end())
    return nullptr;

  return iter->second;
  return iter->second->get_callback();
}

template<typename K, typename V>