clang-format

pull/13984/head
Mark D. Roth 7 years ago
parent 94dad60978
commit 69c539fd85
  1. 8
      src/core/lib/support/ref_counted_ptr.h

@ -79,15 +79,11 @@ class RefCountedPtr {
bool operator==(const RefCountedPtr& other) const { bool operator==(const RefCountedPtr& other) const {
return value_ == other.value_; return value_ == other.value_;
} }
bool operator==(T* other) const { bool operator==(T* other) const { return value_ == other; }
return value_ == other;
}
bool operator!=(const RefCountedPtr& other) const { bool operator!=(const RefCountedPtr& other) const {
return value_ != other.value_; return value_ != other.value_;
} }
bool operator!=(T* other) const { bool operator!=(T* other) const { return value_ != other; }
return value_ != other;
}
private: private:
T* value_ = nullptr; T* value_ = nullptr;

Loading…
Cancel
Save