aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2018-01-16 08:21:05 -0800
committerGravatar Mark D. Roth <roth@google.com>2018-01-16 08:21:05 -0800
commit69c539fd855c416fd2a2fc7406c6c854500f6a12 (patch)
tree160e67db29c5b71c8b3216f7adf29697f0fae177
parent94dad609783b0e67c9b4b1de079330e19cf813c2 (diff)
clang-format
-rw-r--r--src/core/lib/support/ref_counted_ptr.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/core/lib/support/ref_counted_ptr.h b/src/core/lib/support/ref_counted_ptr.h
index 83e99d8ca6..8c8606ca0a 100644
--- a/src/core/lib/support/ref_counted_ptr.h
+++ b/src/core/lib/support/ref_counted_ptr.h
@@ -79,15 +79,11 @@ class RefCountedPtr {
bool operator==(const RefCountedPtr& other) const {
return value_ == other.value_;
}
- bool operator==(T* other) const {
- return value_ == other;
- }
+ bool operator==(T* other) const { return value_ == other; }
bool operator!=(const RefCountedPtr& other) const {
return value_ != other.value_;
}
- bool operator!=(T* other) const {
- return value_ != other;
- }
+ bool operator!=(T* other) const { return value_ != other; }
private:
T* value_ = nullptr;