forked from OSchip/llvm-project
Implement one operator== with another.
Thanks for David Blaikie for the suggestion. llvm-svn: 210107
This commit is contained in:
parent
7d4fc2c6a7
commit
aa31609fb8
|
@ -248,7 +248,7 @@ public:
|
|||
|
||||
template <class T>
|
||||
bool operator==(const IntrusiveRefCntPtr<T> &A, std::nullptr_t B) {
|
||||
return !A;
|
||||
return B == A;
|
||||
}
|
||||
|
||||
template <class T>
|
||||
|
|
Loading…
Reference in New Issue