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

Commit b532a801 authored by Myles Watson's avatar Myles Watson
Browse files

test_vendor: Make BtAddress comparisons const

Test: build
Change-Id: Ifbafdb8792e4101974d01bb86d5c6188a88ef9f3
parent 1c68b341
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_;
  }