Chromium Code Reviews| Index: base/memory/ref_counted.h |
| diff --git a/base/memory/ref_counted.h b/base/memory/ref_counted.h |
| index 5b866d14c812fc9645a0ef8285c0369ba93301ac..2b69aaeb0fd4d2696cb7526e7e1ec9f2c4b592a4 100644 |
| --- a/base/memory/ref_counted.h |
| +++ b/base/memory/ref_counted.h |
| @@ -425,12 +425,12 @@ bool operator==(const T* lhs, const scoped_refptr<U>& rhs) { |
| } |
| template <typename T> |
| -bool operator==(const scoped_refptr<T>& lhs, std::nullptr_t null) { |
| +bool operator==(const scoped_refptr<T>& lhs, std::nullptr_t /* null */) { |
|
danakj
2016/05/23 02:59:54
delete the name
Luis Héctor Chávez
2016/05/24 15:27:53
Done.
|
| return !static_cast<bool>(lhs); |
| } |
| template <typename T> |
| -bool operator==(std::nullptr_t null, const scoped_refptr<T>& rhs) { |
| +bool operator==(std::nullptr_t /* null */, const scoped_refptr<T>& rhs) { |
|
danakj
2016/05/23 02:59:54
delete
Luis Héctor Chávez
2016/05/24 15:27:53
Done.
|
| return !static_cast<bool>(rhs); |
| } |