mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:58:11 +00:00
LibJS: Remove unnecessary operator==() for ({Nonnull,}GCPtr<T>, T*)
These aren't necessary in the first place since {Nonnull,}GCPtr has operator T*()
This commit is contained in:
parent
d87e2287dc
commit
738e770fce
1 changed files with 0 additions and 12 deletions
|
@ -224,16 +224,4 @@ inline bool operator==(NonnullGCPtr<T> const& a, GCPtr<U> const& b)
|
|||
return a.ptr() == b.ptr();
|
||||
}
|
||||
|
||||
template<typename T, typename U>
|
||||
inline bool operator==(NonnullGCPtr<T> const& a, U const* b)
|
||||
{
|
||||
return a.ptr() == b;
|
||||
}
|
||||
|
||||
template<typename T, typename U>
|
||||
inline bool operator==(GCPtr<T> const& a, U const* b)
|
||||
{
|
||||
return a.ptr() == b;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue