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

Commit 1358b50e authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "test_vendor: Make BtAddress comparisons const"

parents addce0eb b532a801
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -41,22 +41,22 @@ class BtAddress {
  // - each remaining character is a hexadecimal digit
  static bool IsValid(const std::string& addr);

  inline bool operator==(const BtAddress& right) {
  inline bool operator==(const BtAddress& right) const {
    return address_ == right.address_;
  }
  inline bool operator!=(const BtAddress& right) {
  inline bool operator!=(const BtAddress& right) const {
    return address_ != right.address_;
  }
  inline bool operator<(const BtAddress& right) {
  inline bool operator<(const BtAddress& right) const {
    return address_ < right.address_;
  }
  inline bool operator>(const BtAddress& right) {
  inline bool operator>(const BtAddress& right) const {
    return address_ > right.address_;
  }
  inline bool operator<=(const BtAddress& right) {
  inline bool operator<=(const BtAddress& right) const {
    return address_ <= right.address_;
  }
  inline bool operator>=(const BtAddress& right) {
  inline bool operator>=(const BtAddress& right) const {
    return address_ >= right.address_;
  }