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

Commit 25da59e5 authored by Pavlin Radoslavov's avatar Pavlin Radoslavov Committed by android-build-merger
Browse files

Fixed the implementation of std::equal_to<bt_bdaddr_t>

am: 2c0f5aa9

Change-Id: Ic8e35d75ebe14eccd7fd169572fe5bff39d150f6
parents 7d5d2150 2c0f5aa9
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -76,7 +76,7 @@ struct hash<bt_bdaddr_t> {
template <>
template <>
struct equal_to<bt_bdaddr_t> {
struct equal_to<bt_bdaddr_t> {
  size_t operator()(const bt_bdaddr_t& x, const bt_bdaddr_t& y) const {
  size_t operator()(const bt_bdaddr_t& x, const bt_bdaddr_t& y) const {
    return memcmp(x.address, y.address, BD_ADDR_LEN);
    return (memcmp(x.address, y.address, BD_ADDR_LEN) == 0);
  }
  }
};
};
}
}