summaryrefslogtreecommitdiff
path: root/base/memory/ref_counted.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/memory/ref_counted.h')
-rw-r--r--base/memory/ref_counted.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/memory/ref_counted.h b/base/memory/ref_counted.h
index 9dd09ad346..ff46e6d6e5 100644
--- a/base/memory/ref_counted.h
+++ b/base/memory/ref_counted.h
@@ -427,12 +427,12 @@ bool operator==(const T* lhs, const scoped_refptr<U>& rhs) {
}
template <typename T>
-bool operator==(const scoped_refptr<T>& lhs, std::nullptr_t) {
+bool operator==(const scoped_refptr<T>& lhs, std::nullptr_t null) {
return !static_cast<bool>(lhs);
}
template <typename T>
-bool operator==(std::nullptr_t, const scoped_refptr<T>& rhs) {
+bool operator==(std::nullptr_t null, const scoped_refptr<T>& rhs) {
return !static_cast<bool>(rhs);
}