diff --git a/src/core/lib/gprpp/ref_counted_ptr.h b/src/core/lib/gprpp/ref_counted_ptr.h index 7b64ec56bd5..91ca8eae63d 100644 --- a/src/core/lib/gprpp/ref_counted_ptr.h +++ b/src/core/lib/gprpp/ref_counted_ptr.h @@ -37,7 +37,9 @@ class RefCountedPtr { // If value is non-null, we take ownership of a ref to it. template - explicit RefCountedPtr(Y* value) { value_ = value; } + explicit RefCountedPtr(Y* value) { + value_ = value; + } // Move support. RefCountedPtr(RefCountedPtr&& other) { @@ -128,7 +130,9 @@ class RefCountedPtr { } template - bool operator==(const Y* other) const { return value_ == other; } + bool operator==(const Y* other) const { + return value_ == other; + } bool operator==(std::nullptr_t) const { return value_ == nullptr; } @@ -138,7 +142,9 @@ class RefCountedPtr { } template - bool operator!=(const Y* other) const { return value_ != other; } + bool operator!=(const Y* other) const { + return value_ != other; + } bool operator!=(std::nullptr_t) const { return value_ != nullptr; }